Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install package #1

Open
njtierney opened this issue Oct 2, 2014 · 1 comment
Open

Cannot install package #1

njtierney opened this issue Oct 2, 2014 · 1 comment

Comments

@njtierney
Copy link

Hi there,

Following the directions on the ReadMe, I could not install RGTk2.

I have a mac, so I went to http://r.research.att.com/, downloaded RGTk2, installed it. Then I tried to install it into R from source

install.packages('RGtk2', type = "source")

And got the following error:

Installing package into ‘/Users/tierneyn/Library/R/3.1/library’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.com/src/contrib/RGtk2_2.20.31.tar.gz'
Content type 'application/x-gzip' length 2785274 bytes (2.7 Mb)
opened URL
==================================================
downloaded 2.7 Mb

* installing *source* package ‘RGtk2’ ...
** package ‘RGtk2’ successfully unpacked and MD5 sums checked
checking for pkg-config... no
checking for INTROSPECTION... no
checking for GTK... no
configure: error: GTK version 2.8.0 required
ERROR: configuration failed for package ‘RGtk2’
* removing ‘/Users/tierneyn/Library/R/3.1/library/RGtk2’
Warning in install.packages :
  installation of package ‘RGtk2’ had non-zero exit status

The downloaded source packages are in
    ‘/private/var/folders/1n/tn011n8s07x15zbwmryq7b8w6q_m04/T/RtmpxAaxd8/downloaded_packages’

I was just wondering if you could provide any advice on how I can install your package?

@egpivo
Copy link

egpivo commented Jun 20, 2017

Perhaps, you have to install 'GTK' in Mac via the following line.

brew install gtk+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants