I think Sweave and/or odfWeave are the real answer, though. Obviously, a bigger and more elaborate kettle of fish.
-- Bert Gunter -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry Rowlingson Sent: Friday, December 05, 2008 9:21 AM To: Philipp Pagel Cc: r-help@r-project.org Subject: Re: [R] Sink does not send graphs to sink file 2008/12/5 Philipp Pagel <[EMAIL PROTECTED]>: >> I am using sink() to send the results of my analyses to a text >> file. Unfortunately my graphs do not become part of the file. >> Is there anyway that I can have both the text and graphic >> output of my analyses appear in a file? > > Well, how would you expect the graphs to be represented in a text > file? So the short answer is no you can't do that. Splus used to have (does it still?) an ascii-text based graphics device. Fine for simple things, I'm not sure how well fancy lattice graphics would work on it. If someone has a few hours to waste, they might be able to build something similar for R using aalib: http://aa-project.sourceforge.net/aalib/ Barry ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.