plot() under Rserve

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

plot() under Rserve

Jonathan Shore
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