Strictly, you need to type the extension _if your filename or path include a period (".")_ but not otherwise.
The filename "test" alone will be saved as paste("test",type). So will, for example, "/plots/test". But filenames such as "test.it" or "../plots/test" will not include the extension automatically. Steve Ellison >>> "Henrique Dallazuanna" <[EMAIL PROTECTED]> 26/08/2008 12:12 >>> You need type the extension of the file: plot(rnorm(10)) savePlot("test.png", type="png") savePlot("test.bmp", type="bmp") On Tue, Aug 26, 2008 at 6:29 AM, Luis Ridao Cruz <[EMAIL PROTECTED]> wrote: > R-help, > > Whenever I try to save a plot with "savePlot" > the file is not stored in my hard disk with the selected > format. ******************************************************************* This email and any attachments are confidential. Any use...{{dropped:8}} ______________________________________________ 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.