[R] Installing RGtk2 on Mac OS

Hana Sevcikova hana at cs.washington.edu
Fri May 8 20:45:23 CEST 2009


I'm having trouble to install RGtk2 (from source) on Mac OS 10.4.11 (R 
2.9.0). The GTK libraries (2.12.11) were installed into /sw/lib via 
fink. Even if I set the GTK_LIBS to that path, the installation program 
doesn't seem to find it (see below). libglade is there too but not found.

If I install the package from binaries, it fails on load.

Would anybody know how to make it work?

Thanks a lot,

Hana

$ echo $GTK_LIBS
/sw/lib

$ R CMD INSTALL RGtk2
* Installing to library '/Library/Frameworks/R.framework/Resources/library'
* Installing *source* package 'RGtk2' ...
checking for pkg-config... /sw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBGLADE... no
configure: WARNING: libglade not found
rm: R/libglade*: No such file or directory
rm: src/libglade*: No such file or directory
checking for INTROSPECTION... no
checking for GTK... no
configure: error: GTK version 2.8.0 required
ERROR: configuration failed for package 'RGtk2'
* Removing '/Library/Frameworks/R.framework/Resources/library/RGtk2'




More information about the R-help mailing list