[R] Having R (not the OS) redirect stderr() to stdout()

David Dahl dahl at stat.tamu.edu
Wed Nov 12 17:59:37 CET 2008


R users,

I am aware that R can be invoked such that the operating system
redirects standard error (stderr) to standard output (stdout), but I
want to have R itself (not the OS) redirect the connection given by
stderr() to connection given by stdout().  Is that possible?  Perhaps
equivalently, can I make all error messages and warnings go to
stdout() instead of stderr()?  Any suggestions?  Thanks!

-- David

-- 
David B. Dahl
Assistant Professor
Department of Statistics
Texas A&M University

Web site: http://www.stat.tamu.edu/~dahl
E-mail address: dahl at stat.tamu.edu
Main office: 979-845-3141
Fax: 979-845-3144
--



More information about the R-help mailing list