HI, Please try to setup environment variable DISPLAY on your remote machine.
ex, csh: setenv DISPLAY localhostIPAddress:20.0 or bash export DISPLAY=localhostIPAddress:20.0 where localhostIPAddress is your IP address of your current working machine (local machine) Usually, I just use localhostIPAddress:0.0, you can ask your group member to get information, which *.x you should use. Hope this helps. On 2/22/10, xin wei <xin...@stat.psu.edu> wrote: > > > hi, Guys: > thank you so much for all the suggestion. Now I seem to be able to set up > x11 forwarding in PUTTY. however, I still could not get plot and I get the > following error msg: > > Error in function (display = "", width, height, pointsize, gamma, bg, : > X11 I/O error while opening X11 connection to 'localhost:20.0' > > Is this error msg indication of lack of appropriate plotting package on the > server or the server is not properly set up for X11 forwarding? > > thanks > > -- > View this message in context: > http://n4.nabble.com/how-to-make-R-plot-under-Linux-tp1562060p1565113.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.