[R] Need R Help

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jul 20 12:12:17 CEST 2005

You are probably not running a X server on your Windows machine, or if you 
are, you are not forwarding X connections.  Even then, this is likely to 
be unsatisfactory unless you have a very good X server and a fast 

Please read the help page for png, and note the See Also section which 
suggests a good solution to your dilemma.

On Wed, 20 Jul 2005, bhumir jhaveri wrote:

> I am newbie in R.

Have you read the posting guide?

> I have R installed on Solaris machine and I am connected
> to Solaris machine from Windows using telnet. I want to create png image
> file using R. But when I issue R command from telnet:-
>> png("test.png")
> Following error occurs:
> Error in X11(paste("png::", filename, sep = ""), width, height, pointsize,
> :
>        unable to start device PNG
> In addition: Warning message:
> unable to open connection to X11 display ''
>  Also, when I checked DISPLAY environment variable, it shows
> ( is windows machine's ip address
> Please suggest any solutions for the stated problem.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list