[R] Save figure in pdf

Komine momadou at yahoo.fr
Fri Aug 26 15:21:29 CEST 2011


Hi, 

I created a figure with R and I want to save it in .pdf. I used this code:
> pdf("res.pca.pdf",width=10,height=8)
> library(FactoMineR)
> res.pca<-PCA(acp)
> res.pca
> dev.off()

When I go in my folder, I find an empty file ( 0 Ko). 
Do you know where is the problem. 

Thank you in advance  


--
View this message in context: http://r.789695.n4.nabble.com/Save-figure-in-pdf-tp3770833p3770833.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list