Piet de Jong wrote:
> This seems to me to be  a very good initiative.
> I tried it out and it works nicely.
> One issue is with the statistical graphics - R's strong point.
> 
> Rcmd 'windows()'     NB. Opens an R windows graphics environment
> 
> However when subsequently plotting the plots are not properly
> "completed. "   eg missing axes which only briefly appear later when the
> next plot is made etc.
> Is there a way of properly completing the plots?

I notice the same problem, but am not sure if R graphics is supposed to
work properly with Rserve. I could not find any information on this.

There are a couple of workarounds.

1. The DCOM server (requires Windows) does support R graphics correctly.

2. Using Rserve, you can output graphics to another device driver like
PDF, for example:

Rcmd 'pdf(file="e:/t1.pdf")'
Rcmd 'plot(c(2,3,5,7,11))'
Rcmd 'dev.off()'

For this, I recommend using gsview, as you can then leave the viewer
open while re-running plots.

Incidentally, the J scripts for the R interface are now updated for J601.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to