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

From: David Dahl <dahl_at_stat.tamu.edu>
Date: Wed, 12 Nov 2008 10:59:37 -0600

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


R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 12 Nov 2008 - 17:02:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 12 Nov 2008 - 18:30:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive