[R] savePlot() does not save plot with format set

Luis Ridao Cruz Luisr at frs.fo
Tue Aug 26 11:29:13 CEST 2008


R-help,

Whenever I try to save a plot with "savePlot"
the file is not stored in my hard disk with the selected
format. Several formats are set and none of them
works. I just get the file name with missing extension
and it can't be open with programs like Paint and Microsoft Photo
Editor
Th only one able to open it is "Windows Picture and Fax Viewer"


plot(rnorm(10))
savePlot("test", type="png")
savePlot("test", type="bmp")


My platform is Windows XP SP3

> version
               _                           
platform       i386-pc-mingw32             
arch           i386                        
os             mingw32                     
system         i386, mingw32               
status                                     
major          2                           
minor          7.0                         
year           2008                        
month          04                          
day            22                          
svn rev        45424                       
language       R                           
version.string R version 2.7.0 (2008-04-22)

Thanks in advanced



More information about the R-help mailing list