[R] save ordinary numerical calculations as pdf

baptiste auguie baptiste.auguie at googlemail.com
Wed Mar 30 20:31:32 CEST 2011


Hi,

If you want grid graphics:

For data.frames and matrices, gridExtra has a grid.table() function.
For strings (paragraph), Rgraphics has a function too, whose name i
forget. It could be possible to combine the two and define a method to
display lists as well.

HTH,

baptiste



On 30 March 2011 22:51, Maas James Dr (MED) <J.Maas at uea.ac.uk> wrote:
> I'd like to save some calculation outputs as a pdf, to incorporate with others in a document.  I've tried
>
> pdf("filename")
> name_of_object_to_output
> dev.off()
>
> but it doesn't seem to work, appears that this pdf function is for graphics?
>
> Is there a way to output numerical objects to pdf?
>
> Thanks
>
> J
>
> Dr. Jim Maas
> University of East Anglia
>
> ______________________________________________
> 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