Many thanks to
everyone for responses to my question about how to export graphics in
a format other than postscript, using Splus v 7.0.3 for Linux.
Chuck Taylor from
Insightful suggested using the java.graph() function.
First, be
sure that you start up Splus using the “-j” option to
enable Java. Then type help(java.graph, win=T).
Simple example:
java.graph(file=”test.png”,
format=”PNG”)
(“export.graph” is found only
in S-PLUS for Windows)
Another method suggested by Andreas Krause also works well.
It does not offer as many format options as java.graph but does not
require starting with the java option.
I use
dev.copy to create jpeg and png. Take a look at all available devices
by entering
?Devices
Best regards,
Julia