[R] writing to a file
rsaber at comcast.net
Sun Nov 14 05:12:07 CET 2010
I have a fairly complex object that I have written a print function for.
Thus when I do print(results), the R console shows me a whole bunch of stuff already formatted. What I want to do is to take whatever print(results) shows to console and then put that in a file. I am doing this using the sink command.
However, I am unsure as to how to "unsink". Eg, how do I restore output to the normal console?
More information about the R-help