Re: [R] Plots without X11 in CentOS

2015-04-25 Thread peter dalgaard
On 25 Apr 2015, at 05:57 , Sudip Chatterjee sudipanal...@gmail.com wrote: Hi Peter, I did the same but I received an error stating X11 is not available. Hm?? Did something change while I wasn't looking? I'd expect PDF to be handled by the postscript driver and be independent of X11.

[R] Plots without X11 in CentOS

2015-04-24 Thread Sudip Chatterjee
Hi All, I am wondering how to save plots in R at CentOS when X11 is not available, any suggestion would be appreciated. Warm Regards Sudip [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and

Re: [R] Plots without X11 in CentOS

2015-04-24 Thread peter dalgaard
Plot directly to the appropriate device, e.g. pdf(file=my.pdf) plot(rnorm(500)) dev.off() This is often recommendable even if you do have an on-screen graphics device because some subtleties can get lost in translation for one device to another. (The prototypical example is that a legend box

Re: [R] Plots without X11 in CentOS

2015-04-24 Thread Sudip Chatterjee
Hi Peter, I did the same but I received an error stating X11 is not available. On Fri, Apr 24, 2015 at 8:11 PM, peter dalgaard pda...@gmail.com wrote: Plot directly to the appropriate device, e.g. pdf(file=my.pdf) plot(rnorm(500)) dev.off() This is often recommendable even if you do