Page 1 of 1

R Graphics window is not visible in putty or terminal

Posted: Mon Feb 25, 2013 7:57 am
by manikandanp
Dear Team,

I am using putty and working with R prompt.

For plotting the graph ,included the graphics library ad I ran the following graghics command :

library(graphics)

>plot(pressure)
>text(150, 600, “Pressure (mm Hg)\nversus\nTemperature (Celsius)”)

But it is not opening the graphical window.

I am able to see the Rplot.pdf file also.

Alternatively i have saved the output of pressure graph to png file using the below commands:


> png(file=”myplot.png”)

> plot(pressure)

> dev.off()

But when i go to the corrsponding folder and tried to read the output png file using CAT command.It shows only the encrypted data.

Please direct me for graphical window problem or reading the image output by referring the above.

Thanks & Regards,

Mani

Re: R Graphics window is not visible in putty or terminal

Posted: Thu Feb 28, 2013 1:15 pm
by id10t
HI!

You need to enable X11 forwarding - but its works very slow.
Image