[R] Output including listing and graphs.

Duncan Murdoch murdoch.duncan at gmail.com
Sun Feb 9 02:38:09 CET 2014


On 14-02-08 7:58 PM, John Sorkin wrote:
> R 3.0.0 or RStudio  0.98.490
> Windows 7 (or Linux Mint)
>
> Is there any easy way to run an R program and have it produce text output in a file along with any graphs that the code produces? I know I can run the program and paste the graphs into the output however doing this is rather time consuming.

Besides the functions Jim told you about, there are Sweave (mainly for 
LaTeX output, but there is odfWeave) and knitr (several different output 
formats possible).  In fact, I believe knitr can work with Jim's functions.

Duncan Murdoch


> Thank you,
> John
>
>
>
>
> John David Sorkin M.D., Ph.D.
> Professor of Medicine
> Chief, Biostatistics and Informatics
> University of Maryland School of Medicine Division of Gerontology and Geriatric Medicine
> Baltimore VA Medical Center
> 10 North Greene Street
> GRECC (BT/18/GR)
> Baltimore, MD 21201-1524
> (Phone) 410-605-7119
> (Fax) 410-605-7913 (Please call phone number above prior to faxing)
>
> Confidentiality Statement:
> This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information.  Any unauthorized use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
>
>
>
> ______________________________________________
> 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