I'm not sure about .pdf, but look at ?sink to create a text file. You could then print this as a .pdf if you so desired.

Rob

------------------------------------------
Robert W. Baer, Ph.D.
Professor of Physiology
Kirksville College of Osteopathic Medicine
A. T. Still University of Health Sciences
800 W. Jefferson St.
Kirksville, MO 63501
660-626-2322
FAX 660-626-2965


--------------------------------------------------
From: "Maas James Dr (MED)" <j.m...@uea.ac.uk>
Sent: Wednesday, March 30, 2011 4:51 AM
To: <r-help@r-project.org>
Subject: [R] save ordinary numerical calculations as pdf

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.

Reply via email to