[R] unable to load shared library '/usr/local/lib/R/modules//R_X11.so'

From: <tomkur2006-takehome_at_yahoo.com>
Date: Sun, 16 Mar 2008 23:06:22 -0700 (PDT)


I downloaded a binary version of R for my Solaris 10 box (from http://www.sunfreeware.com/programlistsparc10.html#R), and everything looked fine during the installation. However, I got a "X11 module cannot be loaded" error when I attempted to save a graph to be a png file. Does it look like a problem of the Solaris box or a problem of the installation (missing library file)? Thanks in advance.

> png(filename="test.png",height=480, width=640)
Error in png(filename = "test.png", height = 480, width = 640) :   X11 module cannot be loaded
In addition: Warning message:
In png(filename = "test.png", height = 480, width = 640) :   unable to load shared library '/usr/local/lib/R/modules//R_X11.so':   ld.so.1: R: fatal: libSM.so.6: open failed: No such file or directory

The file '/usr/local/lib/R/modules//R_X11.so' was physically there. -bash-3.00$ ls -l /usr/local/lib/R/modules//R_X11.so -rwxr-xr-x 1 bin bin 112152 Oct 5 02:02 /usr/local/lib/R/modules//R_X11.so

        [[alternative HTML version deleted]]

R-help_at_r-project.org 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. Received on Mon 17 Mar 2008 - 06:09:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 17 Mar 2008 - 07:30:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive