I simply use 
        
        pdf("test.pdf") 
        plot(rnorm(10))
        dev.off()


        postscript("test.ps") 

        plot(rnorm(10))

        dev.off()
 
Justin BEM
BP 1917 Yaoundé
Tél (237) 99597295
    (237) 22040246

----- Message d'origine ----
De : Luis Ridao Cruz <Luisr@frs.fo>
À : r-help@stat.math..ethz.ch
Envoyé le : Jeudi, 15 Novembre 2007, 14h11mn 28s
Objet : [R] Unable to save plot as ".pdf" , "ps" , "eps"

R-help,

Whenever I try to save a plot with extension ".pdf" , "ps" or "eps"
I get the following error/warning message:

plot(rnorm(10))
savePlot("test",type="pdf")

Error in savePlot("test", type = "pdf") : Invalid font type
In addition: Warning messages:
1: In savePlot("test", type = "pdf") :
  font family not found in PostScript font database
2: In savePlot("test", type = "pdf") :
  font family not found in PostScript font database


Can anyone let me know wht it is going on

Thanks in advance

> version
               _                           
platform       i386-pc-mingw32             
arch           i386                        
os             mingw32                     
system         i386, mingw32               
status                                     
major          2                           
minor          6.0                         
year           2007                        
month          10                          
day            03                          
svn rev        43063                       
language       R                           
version.string R version 2.6.0 (2007-10-03)

______________________________________________
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.






      _____________________________________________________________________________ 

l 
	[[alternative HTML version deleted]]

