[R] capture stderr in Windows

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Aug 16 19:48:32 CEST 2004


Moises Hassan 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?

"Rterm --no-save --no-restore < "Rscriptfile" 2>&1 "Rstdoutfile"

I'd rather use R CMD BATCH anyway.

Uwe Ligges

>  
> 
> Thanks, 
> 
>    - Moises
> 
>  
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list