[R] Problem installing RGTK2 on ubuntu 7.04
廖宮毅
gongyi.liao at gmail.com
Sat Jun 30 06:14:48 CEST 2007
On Fri, 2007-06-29 at 23:11 -0400, Andrew Muller wrote:
> Hello, all
>
> I am trying to install RGTK2 on my Ubuntu 7.04 system. The installation
> fails with a message that RGtk2 requires GTK 2.8. As far as I can tell I
> have GTK+ 2.10.11 installed. Can anyone suggest a way to proceed?
>
> Thanks very much.
>
> Here is the failed installation:
>
> > install.packages("RGtk2")
> Warning in install.packages("RGtk2") : argument 'lib' is missing:
> using /usr/local/lib/R/site-library
> --- Please select a CRAN mirror for use in this session ---
> Loading Tcl/Tk interface ... done
> trying URL 'http://probability.ca/cran/src/contrib/RGtk2_2.10.11.tar.gz'
> Content type 'application/x-tar' length 2329776 bytes
> opened URL
> ==================================================
> downloaded 2275Kb
>
> * Installing *source* package 'RGtk2' ...
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for GTK... configure: error: GTK version 2.8.0 required
> ERROR: configuration failed for package 'RGtk2'
> ** Removing '/usr/local/lib/R/site-library/RGtk2'
>
> The downloaded packages are in
> /tmp/RtmpTMtchC/downloaded_packages
> Warning message:
> installation of package 'RGtk2' had non-zero exit status in:
> install.packages("RGtk2")
> >
>
> I am using R version 2.4.1 (2006-12-18) on a Ubuntu 7.04 system
>
> mullera at happy:~/sandbox/R$ uname -a
> Linux happy 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686
> GNU/Linux
>
> Andrew Muller
> McMaster University/Economics
> Hamilton, Ontario, Canada
>
apt-get install libgtk2.0-dev
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
More information about the R-help
mailing list