[R] odfWeave - How to Insert eps rather than png
Kuhn, Max
Max.Kuhn at pfizer.com
Tue Jul 24 01:22:47 CEST 2007
Rick,
First, can you send details about your versions/OS using sessionInfo()?
> If you create plots and use odfWeave to create an odf text document,
the
> default for figures is png bitmap graphics. The only way I've found to
> insert eps graphics is to first create the eps graphic using the
> postscript driver and then use odfInsertPlot. I've tried to use
Did the code chunk *fail* or did it complete without error? What were
the options in setImageDefs? I'll need more detail to provide you with
any help.
> getImageDefs and setImageDefs but I get an empty plot. Could someone
> show an example?
A quick search of "odfWeave postscript" resulted in
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/103278.html
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/103302.html
OpenOffice uses other applications (like ImageMagick's convert) to
generate previews of ps images. If you are on windows, there is an non-R
issue where Microsoft's file utility called convert interferes with the
other convert and no image shows up (or prints). I have the same issue.
It should be fixable by putting ImageMagick earlier in the path, but I
have not tried this yet.
Max
----------------------------------------------------------------------
LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}
More information about the R-help
mailing list