ODS functionality in R [closed]
Is there any functionality in R which is just like that of ODS functionality in SAS?
As Joris mentioned, some more details on your end will help us help you. In the mean time, here are some links to the functions / resources listed above to get you started:
- Flat files - look at
?write.table
. You can easily write out comma, tab, or other arbitrary delimited files - Images - look at
?jpeg
. There are equivalent functions for bmp, png, and tiff - HTML output - CRAN package R2HTML and xtable
- PDFs - single or multipage PDFs can be generated with
?pdf
- PDF via LaTeX - look at
?Sweave
. This is not for the faint of heart if you don't understand LaTex. Also look at lyx for an alternative though I have no experience there. brew is another templating approach that looks promising as well. - Word or word like documents - look at package odfWeave or r2wd or R2PPT
In general, take a look at the ReproducibleResearch task view on CRAN for other alternatives and more details about the above.
精彩评论