Skip to content
Prev 276867 / 398506 Next

R to automate scatter plots

On Nov 9, 2011, at 4:22 PM, Cynthia Lee Page wrote:

            
At this point you might have been better off if you had just typed:

      pdf()

The default name for a pdf document is set by this code from the help  
page for pdf()
pdf(file = ifelse(onefile, "Rplots.pdf", "Rplot%03d.pdf"),
Notice that "%03d". That means the system pots in a number tthat is  
one grater than the largest current Rplot_N.pdf in the directory.
Without the data that created that error, we are not going to be able  
to give a clear answer.
David Winsemius, MD
West Hartford, CT