On Sun, 16 Mar 2008, [EMAIL PROTECTED] wrote: > Hi, > > 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.
Are your library paths correct? Is your Solaris fullly patched? libSM.so.6 is part of Solaris, in /usr/openwin/lib. If that exists, try adding /usr/openwin/lib to LD_LIBRARY_PATH (e.g. in R_HOME/etc/ldpaths). If not, get it from your Solaris installation discs. >> 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 But that is not what it says is missing. > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. > -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ R-help@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.