The latex() function in the Hmisc package will typeset your objects. Embed that in a tex document and run pdflatex.
Rich Sent from my iPhone On Mar 30, 2011, at 5:51, "Maas James Dr (MED)" <j.m...@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@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. ______________________________________________ R-help@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.