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 ? thank you very much Paolo
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
look at> ?jpegPNG format might be better:> ?pngArne On Monday 16 August 2004 18:48, 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 ? > > 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