[R] Installing RGtk2 on Mac OS
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri May 8 21:14:21 CEST 2009
Please use R-sig-mac for Mac OS X questions, as the posting guide asks.
But there is a binary of Gtk2 on r.research.att.com that matches the
binary RGtk2 package on CRAN, and that worked for me earlier today.
Mixing fink (or darwinports) with the binary R distribution is warned
against in the R Mac OS X documentation.
On Fri, 8 May 2009, Hana Sevcikova wrote:
> 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,
> $ echo $GTK_LIBS
> $ 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'
> R-help at r-project.org mailing list
> 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, ripley at stats.ox.ac.uk
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
More information about the R-help