New to Rattle, install trouble with R 3.1.0

3,351 views
Skip to first unread message

jess....@gmail.com

unread,
Apr 25, 2014, 4:36:04 PM4/25/14
to rattle...@googlegroups.com
Hi, I'm new to Rattle.  Thanks in advance for going easy on me.

I'm trying to install Rattle in R 3.1.0 (Mac, 10.9.2), following the install instructions here: http://rattle.togaware.com/rattle-install-mac.html

And I get this message:

> install.packages("RGtk2")
--- Please select a CRAN mirror for use in this session ---

   package ‘RGtk2’ is available as a source package but not as a binary

Warning message:
package ‘RGtk2’ is not available (for R version 3.1.0) 

Is Rattle not compatible with this new version of R (released 4-10-14)?  Or am I doing it wrong?

Thanks again.

Best,
Jessica

steven...@saama.com

unread,
May 24, 2014, 6:59:53 PM5/24/14
to rattle...@googlegroups.com
Just checking to see if anyone answered your question - I am having the same problem!

This e-mail transmission may contain confidential, proprietary and / or legally privileged information and is intended only for the individual or entity named in the e-mail address. Any disclosure, copying, distribution, or reliance upon the contents of this e-mail not authorized by the sender is strictly prohibited. If you have received this e-mail transmission in error, please immediately reply to the sender, so that proper delivery of the e-mail can be effected, and then please delete the message from your Inbox. Any content of this message and its attachments that does not relate to the official business of Saama Technologies Inc. or its subsidiaries must be taken not to have been sent or endorsed by any of them. Email communications are not private and no warranty is made that e-mail communications are timely, secure or free from computer virus or other defect.

Graham Williams

unread,
May 24, 2014, 11:36:58 PM5/24/14
to rattle...@googlegroups.com
I wonder if the solution is to attempt to install from source - it looks like a binary package for RGtk2 has not been made available for this version of R yet?

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

Regards,
Graham

Linda

unread,
Jun 4, 2014, 3:03:28 AM6/4/14
to rattle...@googlegroups.com
Hello, and thank you! Also in the same boat (R 3.1.0, under Mac 10.9.2, with GTK_2.24.17-X11.pkg installed from http://r.research.att.com/ , and install.packages("rattle", repos="http://rattle.togaware.com", type="source”)  ).

I got the same problem; from source also did not quite work:

> install.packages("RGtk2", type="source")
trying URL 'http://cran.stat.ucla.edu/src/contrib/RGtk2_2.20.29.tar.gz'
Content type 'application/x-tar' length 2785355 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 ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RGtk2’

The downloaded source packages are in
    ‘/private/var/folders/gv/dsf22lls2yj8tzwcgnp4yr7w0000gn/T/RtmpQLoLph/downloaded_packages’
Warning message:
In install.packages("RGtk2", type = "source") :
  installation of package ‘RGtk2’ had non-zero exit status
>

The GTK installer did produce /Library/Frameworks/GTK+.framework but apparently R doesn't see it... Is there just something I need to do to let R know the GTK framework is there?

(Or is it necessary to install GTK by using macports as described on the GitHub link, instead?)

Thanks again,
Linda

LP

unread,
Jun 8, 2014, 1:41:37 AM6/8/14
to rattle...@googlegroups.com
Jessica and Steven,

For what it's worth: I was getting the same error as you, but just got Rattle working for the first time, by changing these steps:
1. Using the R-3.1.0-snowleopard.pkg from CRAN and not the R-3.1.0-mavericks.pkg (even though I am running Mavericks X 10.9.3)
2. Installing and running everything through RStudio's interface to R: http://www.rstudio.com/

I did also use:

install.packages("RGtk2", type="source")
install.packages("rattle", repos="http://rattle.togaware.com", type="source")

Thanks and good luck,
LP


On Friday, April 25, 2014 1:36:04 PM UTC-7, jess....@gmail.com wrote:

Nilkamal Weerasinghe

unread,
Oct 31, 2014, 6:29:31 PM10/31/14
to rattle...@googlegroups.com
The answer you are looking for is given below for the R 3.1.0 and OSX 10.9.2 combo.
http://marcoghislanzoni.com/blog/2014/08/29/solved-installing-rattle-r-3-1-mac-os-x-10-9/
Reply all
Reply to author
Forward
0 new messages