[R] Re: your mail

Thomas Lumley tlumley at u.washington.edu
Thu Apr 18 17:34:23 CEST 2002


On Thu, 18 Apr 2002, Don Stierman wrote:

> I have created a tree and want to save some of the
> data so that I can create a html table from it.
> I would like to save the output from data.ltr (see
> example below) to a file, but haven't found a way to
> do that, keeping the nice format that typing data.ltr
> gives me (see output below). Is there a way to do
> this?

Look at sink()
  sink("filename")
sends output to that file, and you can also send the output to a character
vector by sink()ing to a 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