Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.21.0011121628470.860-100000@ligges.statistik.uni-dortmund.de>
Date: 2000-11-12T15:29:31Z
From: Uwe Ligges
Subject: putting output from print() into a string?
In-Reply-To: <v04210100b6342a53679f@[163.1.146.10]>

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?

dump() ?

Uwe Ligges

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