From guido@sirio.stat.unipd.it  Sun Feb 11 10:54:28 2001
From: guido@sirio.stat.unipd.it (Guido Masarotto)
Date: Sun, 11 Feb 2001 11:54:28 +0100
Subject: [Rd] system command
In-Reply-To: <Pine.GSO.4.31.0102091415080.18117-100000@toucan.stats>; from ripley@stats.ox.ac.uk on Fri, Feb 09, 2001 at 02:28:58PM +0000
References: <3A83EE88.67F639ED@univie.ac.at> <Pine.GSO.4.31.0102091415080.18117-100000@toucan.stats>
Message-ID: <20010211115428.A20548@sirio.stat.unipd.it>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] system command
Guido Masarotto