[R] Print out data frames into neat images

Ista Zahn izahn at psych.rochester.edu
Mon Apr 18 18:32:23 CEST 2011


Hi Santosh,
There are at least three general possibilites:

1) latex (via xtable, Hmisc, r2lh, reporttools ...)
2) html (via xtable, r2lh, R2HTML, hwritter, HTMLUtils ...)
3) graphics (via gridExtra, tableplot ...)

Best,
Ista

On Sun, Apr 17, 2011 at 11:46 PM, Santosh Srinivas
<santosh.srinivas at gmail.com> wrote:
> Hi Group,
>
> I often need to print out data frames with results of analysis into a
> neat little image to copy and paste into documents. I need apply
> formatting like bold, currency signs, number formats, header shading
> etc.
> I currently output the data into csv and format using good old excel.
>
> Any suggestions if there are packages to help with such activities (to
> some level of basic functionality).
> I know that formatting can get quite adhoc but just wondering if there
> is anyway to output reasonably standard output.
>
> (I'm borrowing this idea from javascript plugins that can do such
> activities in the HTML5 world).
>
> Thanks,
> Santosh
>
> ______________________________________________
> 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.
>



-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org



More information about the R-help mailing list