[R] putting output from print() into a string?
ligges at statistik.uni-dortmund.de
Sun Nov 12 16:29:31 CET 2000
On Sun, 12 Nov 2000, David Firth wrote:
> Is there some neat way of storing the printed representation of an
> object as a character string? I can see how it could be done via
> disk using sink() and then scan(), but that's ugly.
> Something like Lisp-Stat's "with-output-to-string" macro perhaps?
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help