[R] R-graphics: insert PS in MS Word

Wolfgang Koller koller2 at fgr.wu-wien.ac.at
Wed Jul 28 10:36:23 CEST 1999


Dear R-Users,

one more advice for those who produce .ps-files with R (on 
unix-machines) and want to insert them in MS-Word:

It is not enough to include the argument horizontal= FALSE in the 
postscript function. The width-option has to be set small enough so 
that the plot fits (in upright position) on a ("portrait") a4 paper 
(or letter paper). Otherwise R obviously adjusts the width-parameter, 
so that this condition is fullfilled, and the width and height of the 
plot may not have the proportions intended by the user.
 E.g. :
postscript(file="figtest.ps",width=8,height=6.4,horizontal=FALSE)

Then the file can be transferred to the Windows computer, and after 
adding bounding boxes and a preview with Ghostview (the "PS to EPS" 
and "Add EPS Preview" commands are well documented in the online 
help) the file should be ready for inserting in MS-Word.

WK


----------------------------------------------------------
Wolfgang Koller,  koller2 at fgr.wu-wien.ac.at
Research Institute for European Affairs
Vienna University of Economics and Business Administration
Althanstrasse 39-45, 1090 Vienna, Austria
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list