Hi, You just need to install X11 windows software on windows, such as xming, and start xming before ssh -X use...@remotehost
Hope this helps. On 2/22/10, xin wei <xin...@stat.psu.edu> 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 > > > > -- > View this message in context: > http://n4.nabble.com/how-to-make-R-plot-under-Linux-tp1562060p1564632.html > Sent from the R help mailing list archive at Nabble.com. > > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > > -- Zhuanshi He / Z. He (PhD) Waterloo Centre for Atmospheric Sciences (WCAS) Department of Earth and Environmental Sciences Phy Bldg, Rm 2022 University of Waterloo, Waterloo, ON N2L 3G1 Canada Tel: +1-519-888-4567 ext 36667 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.