I am using windows XP pack3 and R 2.8.1 so I guess this is savePlot for
Windows.
As Gabor say, savePlot offer to export graph also in eps.
If you want to copy a screen device to postscript portably, use
dev.copy2eps().
I am exporting graph in a package, so I don't want to copy screen device
Hi the list,
I used savePlot to export some eps graph but it seems that the graph
file hold a bug. I include the graph.eps in a LaTeX file. Running latex
is ok. But the dvi file contain some mistake, the graph overprint on
some text and hide it. Then, when I try to convert it to another
Use the postscript device to save .ps or .eps files.
The help page for savePlot does not suggest that it would be of any
value in saving plots as postscript files.
?postscript
?Devices
--
David Winsemius
On Mar 1, 2009, at 5:28 PM, Christophe Genolini wrote:
Hi the list,
I used
Thanks for your answer.
Use the postscript device to save .ps or .eps files.
Unfortunatly, I can't. I am using savePlot in a package. Several graphs
(up to 100) are exported at the same time and I would like the user to
chose the extension. It is why I need savePlot.
Beside, I did not find
Unfortunately your burning desire to use savePlot for this purpose is
not going to reconfigure the capabilities of that function. Just read
the help page of savePlot:
savePlot {grDevices}
R Documentation
Save Cairo X11 Plot to FileDescription
Save the current page of a cairo X11() device to
If you are able to switch to Windows it does seem to be supported there
on savePlot.
Usage
savePlot(filename = Rplot,
type = c(wmf, emf, png, jpg, jpeg, bmp,
tif, tiff, ps, eps, pdf),
device = dev.cur(),
restoreConsole = TRUE)
On Sun, Mar 1, 2009 at
So I guess the question to be answered by the OP now is what code he
was using and what machine specifics he is working with.
The bottom of my savePlot help page says [Package grDevices version
2.8.1 Index].
Is the difference due to our respective platforms (here Mac 10.5.6,
I don't see an OS mentioned in this thread. There are two separate
functions called savePlot(), one for Windows devices and one for
cairo-based X11(); the latter being quite recent.
We do ask for 'at a minimum information' in the posting guide, and
providing this helps the readers to know
8 matches
Mail list logo