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

Monica Pisica pisicandru at hotmail.com
Tue Aug 26 16:23:32 CEST 2008


Did you try:
savePlot("test.bmp", type = "bmp")

Monica

------------------------------------------------------------------------
Message: 118
Date: Tue, 26 Aug 2008 10:29:13 +0100
From: "Luis Ridao Cruz" 
Subject: [R] savePlot() does not save plot with format set
To: 
Message-ID: 
Content-Type: text/plain; charset="US-ASCII"

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

Editor



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




> 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