Skip to content

R_x11.so

2 messages · gregory, Brian Ripley

#
Hi the list,

I just installed  the R-1.7.0-1mdk.i516.rpm package on a mdk 9.1. All 
looks fine until I try to launch some graphics functions as png() or 
even demo( graphics). I receive the following example message:

 > png()
Error in png() : R_X11 module cannot be loaded
In addition: Warning message:
unable to load shared library "/usr/lib/R/modules/R_X11.so":
  /usr/lib/R/modules/R_X11.so: undefined symbol: png_set_IHDR


Also I verified that this file exists and it is.
~/>updatedb
~/>locate "R_x11.so"
~/>/usr/lib/R/modules/R_X11.so

Which variables have to be configured ? How can I do since I installed 
an rpm ?


Is there somebody who could help me.
In advance thank you.

Greg
#
o	The R_X11 module is no longer loaded until it is needed, so
	do test that x11() works in a new Unix-alike R installation.

There appears to be a mismatch between that rpm and your libpng:
please contact the rpm maintainer.

Why not build R from the sources yourself?
On Tue, 20 May 2003, gregory wrote: