[R] Party plots
AnnieE
aelmore at usgs.gov
Fri Sep 4 13:53:24 CEST 2009
Nordlund, Dan (DSHS/RDA) wrote:
>
>
> You need to put the filename in quotes
>
> file = "C:/Documents and Settings/aelmore/Desktop/foo.pdf"
>
> Hope this is helpful,
>
> Dan
Oh yes, this was very helpful (and don't I feel just too silly...). I am,
however, still stuck. This is like pulling teeth, how ridiculous that I
can't get this simple code to work.
Here is what I have:
> #opening the pdf with a larger document size
> pdf(file = "C:/SFL_2005_PCA27R_7_tree_full.pdf", height = 15, width
= 20)
That seems to work okay (no errors, at any rate - I get the next prompt
line). Then I try:
> #plotting the pdf
> plot(SFL_2005_PCA27R_7_tree_full)
and this nets me:
Error: object "SFL_2005_PCA27R_7_tree_full" not found
Error in plot(SFL_2005_PCA27R_7_tree_full) :
error in evaluating the argument 'x' in selecting a method for
function 'plot'
but turning off the PDF driver works okay:
> #turning off the device
> dev.off()
null device
1
If I open the pdf with Acrobat, the file is definitely there, albeit still
crowded. It's not like the file is empty or anything. I am mystified.
--
View this message in context: http://www.nabble.com/Party-plots-tp25277282p25293056.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list