On Fri, 2010-08-20 at 01:30 -0700, Joshua Wiley wrote: > I usually save them > from R as a PDF or postscript file, rasterize them in GIMP (free > answer to Photoshop) at the desired resolution, and finally choose the > desired format/compression (jpeg, png, bitmap, tiff, etc.) to save it > as from there.
Woah. That's really involved. I use this little shell function to convert from ps to png: function ps2png { ps_file="$1" png_file=`echo "$ps_file" | sed -e 's/\.ps$/.png/'` gs -dQUIET -dNOPAUSE -dBATCH -sDEVICE=png16m -sOutputFile="$png_file" -r200x200 "$ps_file" } -- Stuart Luppescu -=- slu .at. ccsr.uchicago.edu University of Chicago -=- CCSR 才文と智奈美の父 -=- Kernel 2.6.33-gentoo-r2 Andrew Thomas: ...and if something goes wrong here it is probably not WinBUGS since that has been running for more than 10 years... Peter Green (from the back): ... and it still hasn't converged! -- Andrew Thomas and Peter Green (during the talk about 'BRugs') gR 2003, Aalborg (September 2003) >
______________________________________________ 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.