[R] gee: suppress printout

cls59 chuck at sharpsteen.net
Tue Oct 13 04:23:16 CEST 2009

joshua wells wrote:
> Unfortunately, i run thousands of these and the output gets extremely
> lengthy. Is there any way to suppress this printout in R?
> Thank you,
> Josh

One function that comes to mind is sink() which allows you to redirect
output somewhere else, such as a file or /dev/null which on unix-like
systems is where unwanted data goes to die:


# Stuff you don't want to see.


# Stuff you do want to see.

If you happen to be using Windows, you may be able to achieve more or less
the same effect by sinking to a temporary file:

sink( tempfile() )

Another function that may be useful is capture.output()

Good luck!


Charlie Sharpsteen
Environmental Resources Engineering
Humboldt State University
View this message in context: http://www.nabble.com/gee%3A-suppress-printout-tp25866057p25866226.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list