[R] Sink does not send graphs to sink file

Jim Lemon jim at bitwrit.com.au
Sun Dec 7 11:07:33 CET 2008


John Sorkin wrote:
> Wiindows XP
> R 2.7
> 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?
>   
Hi John,
Both htmlize in the prettyR package and the functions in the R2HTML 
package will format the output of an R session in HTML. The results can 
be displayed in any (graphical) HTML browser.

Jim



More information about the R-help mailing list