[R] capturing the result of print in a variable?

Michael A. Miller mmiller3 at iupui.edu
Tue Sep 10 21:32:45 CEST 2002


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?

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