Skip to content
Prev 2854 / 15075 Next

plotting from command line R

On Jul 21, 2006, at 1:10 PM, Christian Bird wrote:

            
R GUI uses Quartz device which is not available in the command line  
version of R, because it is embedded in the GUI. Therefore the  
default is to use X11 if available and fall-back to PostScript if  
it's not. From what you describe you are not using X11, so your plots  
go to the PostScript device by default. Just type
getOption("device")
to see which device is being used. If you want to use X11, then make  
sure your X server is running and you set DISPLAY properly (either  
start R from xterm or if using Terminal DISPLAY=:0.0 usually does the  
trick).

Cheers,
Simon