[R] capturing the result of print in a variable?
Thomas Lumley
tlumley at u.washington.edu
Tue Sep 10 21:45:23 CEST 2002
On 10 Sep 2002, Michael A. Miller wrote:
> I'd like to capture the results of a print() command so that I
> can put the results in a tktext widget. I know I can redirect
> the output to a file with sink. I'm looking for something like
> that, but where I can redirect the output into a variable. Is
> there a way to do that?
>
Look at textConnection
-thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
mailing list