[R] plot() under Rserve

Jonathan Shore jonathan.shore at gmail.com
Tue Apr 26 21:54:26 CEST 2011


Hi,

Rserve allows one to render plots into jpeg with R code such as:

   jpeg(filename, ...)
   plot(...)
   dev.off()

However, substituting png, tiff, or bmp device redirection fails on Rserve
with "eval error" on OSX.  

   png(filename, ...)
   plot(...)
   dev.off()

The above in an eval produces an error and sometimes faults the connection.   
I suspect that Rserve is run in a mode where certain graphics parameters or
shared libraries are not available?

Has anyone tried to render with Rserve to a device other than jpeg?   The
Java client demo uses jpeg, but will fail if changed to png.

Thanks

Jonathan

--
View this message in context: http://r.789695.n4.nabble.com/plot-under-Rserve-tp3476364p3476364.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list