[R] how to make R plot under Linux

Kevin E. Thorpe kevin.thorpe at utoronto.ca
Mon Feb 22 16:54:29 CET 2010


xin wei wrote:
> thank you for reply. I just type: hist(x) from SSH terminal, expecting a
> histogram to pop up like what i got under windows.....instead I got the
> following error msg:
> 
> Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma,
> d$colortype,  : 
>   unable to start device X11cairo
> In addition: Warning message:
> In function (display = "", width, height, pointsize, gamma, bg,  :
>   unable to open connection to X11 display ''
> 
> Would you give some clues what is going on?
> 
> thanks
> 
> 

Did you start ssh with the -X switch?

-- 
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.thorpe at utoronto.ca  Tel: 416.864.5776  Fax: 416.864.3016



More information about the R-help mailing list