Skip to content
Prev 16979 / 398502 Next

R graphs in LaTeX documents?

Since modern computers are so fast the convertion from dvi to ps does only
take a second or two and this basically makes DVI priviewers obsolete.
Therefore, I always "skip" the DVI step and immediately go and generate a 
postscipt file using 'dvips' and then view it with GSview/Ghostscript.
GSview is available on most Unix systems ('gview' and/or 'gv') and it does
also exist for Win32 system. See

   http://www.cs.wisc.edu/~ghost/gsview/

If you are using a Win32 system and need to install GSView/Ghostview it is
useful to know that you should first install Ghostview, which is the
postscript engine and then you install GSView, which makes use of
Ghostview internally. You can check if you have Ghostview installed by
typing 'gs -v' at the command prompt. If you have a version older than
6.50 I recommend that you get an update (better PDF results).

You can easily print any postscript document to a postscript printer or to
a Windows printer via GSview. (GSview also views PDF's). With the
ghostview package comes nice things as 'ps2pdf' for converting postscript
documents to PDF (online version can be tried at http://www.ps2pdf.com).

It is easy when you, but sometimes hard find out yourself ;)

Henrik Bengtsson

Dept. of Mathematical Statistics @ Centre for Mathematical Sciences 
Lund Institute of Technology/Lund University, Sweden (+2h UTC)
Office: P316, +46 46 222 9611 (phone), +46 46 222 4623 (fax)
h b @ m a t h s . l t h . s e
http://www.maths.lth.se/matstat/staff/hb/
On Thu, 7 Feb 2002, Robert Lundqvist wrote:

            
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._