You are not logged in.
I've just installed R with pacman. When I try to plot something (e.g. "plot(1,1)" in interactive mode), I get the following error:
Error in function (display = "", width, height, pointsize, gamma, bg, :
X11 module cannot be loadedOf course, I tried to find a solution with google, but all I found were people having the same problem, but nowhere a solution for it...
I suppose I have to properly configure R's X11 settings, but I simply don't know R so I have no idea how to solve this.
Any suggestions?
BTW (if that's important in this case): I'm running Arch (of course
) with Gnome3.
Last edited by cryptkeeper (2012-02-13 17:17:22)
Offline
same thing here. I'm stumped about what to do.
Offline
Is this in an interactive R session, or from a script?
I can't replicate this in an interactive session - it works fine here. In a script, I would expect an error if you do not define a graphics device.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
It is in an interactive session. Working with the pdf() device works fine. Only calling x11() throws the error and this is independent of the type (cairo or Xlib)
Maybe I will try building from ABS.
Offline
Do you get the same result:
$ pacman -Ql r | grep X11
r /usr/include/R/R_ext/GetX11Image.h
r /usr/lib/R/modules/R_X11.so"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I hab an issue with the libpng version bump on my system (haven't 'pacman -Syu' in a while).
It gave the appropriate error but only on the first invocation of 'plot' or 'x11()'. Thank you for your help. Should I mark the thread as SOLVED even though I'm not the OP??
Offline
Should I mark the thread as SOLVED even though I'm not the OP??
Don't worry about it. Only the OP can edit the topic title.
Next time, consider opening a thread of your own.
Burninate!
Offline