system command
On Fri, Feb 09, 2001 at 02:28:58PM +0000, Prof Brian Ripley wrote:
On Fri, 9 Feb 2001, Erich Neuwirth wrote:
...........................................................
Rterm
on win2k
system("csound",intern=TRUE) redirects stdin and stderr into an R object
system("csound",intern=FALSE) (equivalent to system("csound"))
outputs everything
EXCEPT
once
system("csound",intern=TRUE) has been done
and later one tries
system("csound",intern=FALSE)
stderr is lost completely.
going back to
system("csound",intern=TRUE)
redirects stderr again into the R object,
but stderr does not go to the screen any more
after intern=TRUE has been used once.
.....................................................................
2) problems with system and redirection on win32k.
A bug, almost certainly in Windows 2000 since this works as documented under NT. Guido?
I can replicate the problem (under Windows 2000 but not under
Win98 or NT) using
> system("ls",intern=TRUE);system("ls")
I will take a look.
guido
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._