Re: [R] Saving R graphics with version 2.3.1

2006-06-15 Thread Duncan Murdoch
[EMAIL PROTECTED] wrote:
 HI !

 I´ve installed the latest R version (2.3.1) and I´ve had problems to 
 save my graphics as JPEG, PNG and the others available formats.
 R saves the file with no extension. Then, I have to open this file 
 using an image visualizer and save it as PNG, for instance.
   
You can type the extension when you save it, if you're typing the 
filename.  The default
names generally include the extension.
 Previous R versions work without problems.
   

Could you give a detailed description to reproduce the problem?

Duncan Murdoch
 Has everyone had a similar problem?
 Is it a bug of R 2.3.1?

 Thanks in advance.


 Ilka Afonso Reis

 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Saving R graphics with version 2.3.1

2006-06-15 Thread Michael H. Prager
In response to the OP's query, we use numerous R scripts that save 
graphics as PNG and EPS through savePlot() commands.  We have not 
experienced any problems with R 2.3.1.

MHP


on 6/15/2006 9:25 AM Duncan Murdoch said the following:
 [EMAIL PROTECTED] wrote:
   
 HI !

 I´ve installed the latest R version (2.3.1) and I´ve had problems to 
 save my graphics as JPEG, PNG and the others available formats.
 R saves the file with no extension. Then, I have to open this file 
 using an image visualizer and save it as PNG, for instance.
   
 

-- 
Michael Prager, Ph.D.
Southeast Fisheries Science Center
NOAA Center for Coastal Fisheries and Habitat Research
Beaufort, North Carolina  28516
** Opinions expressed are personal, not official.  No
** official endorsement of any product is made or implied.

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Saving R graphics with version 2.3.1

2006-06-14 Thread Ritwik Sinha
Hi,

Have a

jpeg()

your plot function

dev.off()

That will direct your graphs to a file called Rplots.jpg. Look for
function jpeg and png.



On 6/14/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 HI !

 I´ve installed the latest R version (2.3.1) and I´ve had problems to
 save my graphics as JPEG, PNG and the others available formats.
 R saves the file with no extension. Then, I have to open this file
 using an image visualizer and save it as PNG, for instance.

 Previous R versions work without problems.

 Has everyone had a similar problem?
 Is it a bug of R 2.3.1?

 Thanks in advance.


 Ilka Afonso Reis

 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide!
 http://www.R-project.org/posting-guide.html




-- 
Ritwik Sinha
Graduate Student
Epidemiology and Biostatistics
Case Western Reserve University

http://darwin.cwru.edu/~rsinha

[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html