Displaying 1 result from an estimated 1 matches for "batchtest".
Did you mean:
patchtest
2002 Mar 08
0
Create png graph from script?
...like to avoid ghostscript or depending on a
particular x11 device being available. Any help is appreciated.
Details below.
I am running R Version 1.4.1 on Solaris 2.6.
If I can rely on an x11 device being available I can achieve the result as
follows:
$ /fred/R-1.4.1/bin/R --no-save <rbatchtest
$ cat rbatchtest
x11("10.20.30.400:0")
png(filename="batchtest.png")
plot(1,1)
dev.off()
$
If I try to run this without the x11 command I get the following error:
Error in X11(paste("png::", filename, sep = ""), width, height,
points...