On Mon, 16 Aug 2004 10:25:08 -0700, "Moises Hassan"
<[EMAIL PROTECTED]> wrote :

>I'm using the following command to run R in Windows
>
> 
>
>"Rterm --no-save --no-restore < "Rscriptfile" > "Rstdoutfile"
>
> 
>
>How can I capture the text sent by R to stderr in a file?

That depends on your shell.  The standard Windows command shell
COMMAND.COM or CMD.EXE provides no easy way to do this.  There are
lots of replacement shells around that can do it; I use Cygwin's bash
shell most of the time.

There are also programs on the net that do nothing but redirect
standard handles, e.g. <http://www.commandline.co.uk/mtee/index.html>.
I've never tested these.

Duncan Murdoch

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to