[R] Sink does not send graphs to sink file
Bert Gunter
gunter.berton at gene.com
Fri Dec 5 18:38:56 CET 2008
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: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Barry Rowlingson
Sent: Friday, December 05, 2008 9:21 AM
To: Philipp Pagel
Cc: r-help at r-project.org
Subject: Re: [R] Sink does not send graphs to sink file
2008/12/5 Philipp Pagel <p.pagel at wzw.tum.de>:
>> 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 at 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.
More information about the R-help
mailing list