[R] PICT output?

Jonathan Baron
Mon, 02 Apr 2001 01:21:06 -0000

I'm coming into this thread late, and I haven't read all
the earlier messages, but I just had to find a way to
get R output to TWO different Windows users on the same
day.  (Never had to do this before.)  I finally solved it
by using eps output from R.  Then I said

convert myfile.eps bmp:myfile.bmp

which makes something that Windows knows and loves (although
it is very big).  In one case, it was also necessary to
say

mogrify -geometry 50%x50% myfile.bmp

because the original was too big.  The recipients were
happy.  "Convert" and "mogrify" are part of ImageMagick,
which requires many other programs to be installed.
This worked on Red Hat Linux 7.  ImageMagick also has a
function called "display" which is much quicker than any
other method of viewing most image files, and if you click
somewhere it will give you a nice menu of possible
conversions.

I think that ImageMagick is also available for Windows.
It actually makes use of many other programs installed on
the system, such as ghostscript (and I think also the
netpbm utilities, which themselves can do a lot of this
stuff).

I did not try the bitmap output from R itself.  Perhaps
that would work too.

Jon