It has been a while back, but I believe I had to install libgtk2.0-dev (that was on Ubuntu)

You could also try to install the r-cran-rgtk2 debian-package using dpkg, aptitude, or whatever you use as package manager. This makes rgtk available for all users.

HTH,

Jan



Quoting Lorenzo Isella <lorenzo.ise...@gmail.com>:

Dear All,
I am running Debian testing on my system for the amd64 architecture,
When trying to install the RGtk package I get this error


install.packages('RGtk2')
Installing package(s) into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL
'http://rm.mirror.garr.it/mirrors/CRAN/src/contrib/RGtk2_2.20.8.tar.gz'
Content type 'application/x-gzip' length 2637806 bytes (2.5 Mb)
opened URL
==================================================
downloaded 2.5 Mb

* 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 INTROSPECTION... no
checking for GTK... no
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/RtmpMTHLGF/downloaded_packages’
Warning message:
In install.packages("RGtk2") :
  installation of package 'RGtk2' had non-zero exit status

Does anyone know why there is a mismatch between my GTK and the one
required by R?
Should I enable some particular R repositories (I know that the
previous Debian testing was released a few days ago, but I do not know
if this is relevant).
Any suggestion is welcome.
Cheers

Lorenzo

______________________________________________
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.

______________________________________________
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.

Reply via email to