[R] PDF output:

From: Michael Jerosch-Herold <jeroschh_at_ohsu.edu>
Date: Wed 20 Apr 2005 - 01:59:59 EST


I have a problem with making pdf files. I use the code below:

pdf(file="resindex.pdf",width= 6, height= 7, family = "Helvetica", title = "MBF Data",bg="white")

bwplot(...

dev.off()

When I run a script with the above code in it, by using "source", it produces a PDF file which I can not open with Acrobat.

When I copy just the lines above, from my editor, into R commander, then the output to the PDF works fine, i.e. I can open the file with Acrobat reader.

What is the problem?

thank you, in advance for advice!

Michael Jerosch-Herold



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Apr 20 02:09:03 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:17 EST