Prof Brian Ripley ripley at stats.ox.ac.uk writes:
On Thu, 11 Jan 2007, Rebecca Tagett wrote:
Hello,
I'm trying to adapt some R code that works on Windows so that it will work
on a Linux machine.
The command :
png(myFile.png, width=600, height=600)
fails claiming that it
Hello,
I'm trying to adapt some R code that works on Windows so that it will work
on a Linux machine.
The command :
png(myFile.png, width=600, height=600)
fails claiming that it is impossible to establish a connection with X11.
(Error messages are in French, so I'm not pasting them here!)
I forgot to mention that
bitmap()
will do what you want without an X11 connection.
b
On Jan 11, 2007, at 1:09 PM, Rebecca Tagett wrote:
Hello,
I'm trying to adapt some R code that works on Windows so that it
will work
on a Linux machine.
The command :
png(myFile.png, width=600,
Hi Rebecca,
png (and also jpeg, for example) require an X11 connection.
So, assuming you're working from the command line and that your X11
server is up, you would need to do something like:
linux$ export DISPLAY=:0.0
before loading R...
and if your linux machine is remote (and you're
On Thu, 11 Jan 2007, Rebecca Tagett wrote:
Hello,
I'm trying to adapt some R code that works on Windows so that it will work
on a Linux machine.
The command :
png(myFile.png, width=600, height=600)
fails claiming that it is impossible to establish a connection with X11.
(Error messages