[R] portable graphics output; was: (no subject)

Roger Bivand Roger.Bivand at nhh.no
Mon Aug 16 19:03:50 CEST 2004


On Mon, 16 Aug 2004, Paolo Tommasini wrote:

> Hi there I teach a statistics class with R ( the first time ever with R) 
> and some of my students have windows at home and they want to be able to 
> graphs tjhey make in our college ( that only has Linux) and oopen with 
> windows, I think the best wya would be saving it as a JPEG file but I 
> don't know how to do it ! I only know how to do it with EPS
> dev.copy2eps(file="bla.eps")
> how can I save it as JPEG  ? or BMP any other format that is OK for 
> windows ?

I think the PDF device may be most help, giving very portable graphics 
that scale well. Otherwise, PNG graphics with larger width and height are 
also good: see

?pdf

and

?png

> 
> thank you very much
> 
> Paolo
> 
> ______________________________________________
> R-help at 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
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.no




More information about the R-help mailing list