Hi Fredrik,

well I'm connecting via SSH onto the machine. Lateron the R scripts shall be executed via some Ruby scripts. The pdf export is working properly, but I think it would be very ugly to first create a pdf file and then convert it to my needed png (or any other pure image format). Is there no way to manually connect to X11 even in my use case?

Dennis



Am 18.12.2008 um 12:30 schrieb Fredrik Karlsson:

Hi Dennis,

Are you working from a remote client, i.e. not logged into the machine
locally (in X)? If so, the png and jpg devices seem to need to be able
to connect to X.

http://tolstoy.newcastle.edu.au/R/e2/help/06/10/3553.html

Try using the pdf device instead.

/Fredrik

On Thu, Dec 18, 2008 at 10:47 AM, Dennis Schmidt
<[email protected]> wrote:
Hi there,

after several problems with installing R on a Debian server It now finally works at least roughly. With roughly I mean that the 'core' function do work properly, but I'm still having problems with the image export. When I try to
call

png(filename="my_file.png", width=800, height=300, pointsize=12, bg =
"white")

I just get the error message "X11 is not available". But I don't know what
packages (or symlinks???) could still be missing.
I've installed R using the latest 2.8.0 version from the server which I
could compile (after solving quite some different problems) normally.

I hope anyone can help me out, best wishes,

Dennis Schmidt

______________________________________________
[email protected] 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.




--
"Life is like a trumpet - if you don't put anything into it, you don't
get anything out of it."

______________________________________________
[email protected] 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.

Reply via email to