On Mar 28, 2014, at 1:59 AM, Graham Williams wrote:
> Thanks for the report. The error is suggestive of using an older version of GTK - a more recent version of GTK is required to run Rattle (one supporting GtkBuilder). Perhaps a newer version of Mac OS/X is required. The current GTK libraries work with Rattle on Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014.
>
Is there a way to test for that capability? I have a somewhat old version of GTK ( 2.10.0) although I do have the version of GTK+ (2.24.X11) that Simon provides for R 3.0.+. I'm not on Mavericks but rather using MacOS 10.7.5. I have the development tools and am able to build packages from source.
Simon repeatedly warns Mac OS users who read [R-SIG-Mac] not to use homebrew or MacPorts to install packages that will interface with R because the files end up in strange places. Most of the stuff I find on searches are actually referring to GTK+, not Gtk, so finding installation instructions that are credible is not simple. As far as I can tell RGtk2 depends on the GTK+ Framework rather than GTK. Or perhaps your really meant GTK+?
The RGtk2 package lists these requirements:
SystemRequirements: Cairo (>= 1.0.0), ATK (>= 1.10.0), Pango (>=
1.10.0), GTK+ (>= 2.8.0), GLib (>= 2.8.0)
It would be nice if you could post a test script we could use from Terminal for what you think are the requirements, or even call system() with a test that would check for versions on the search path for a running instance of R.
Here's my experience within R 3.0.2. (I have tried unsuccessfully multiple times over the years to get rattle running on a Mac.) I installed the rattle version 3.0.2 from CRAN's binary version loaded rattle and when running rattle() from the GUI console windw had the GUI crah.
I then open R from a terminal session, loaded rattle and ran rattle()
Again crashing R with this reported to the console:
> library(rattle)
Rattle: A free graphical interface for data mining with R.
Version 3.0.2 r169 Copyright (c) 2006-2013 Togaware Pty Ltd.
Type 'rattle()' to shake, rattle, and roll your data.
> rattle()
R(12557,0x7fff79edf960) malloc: *** error for object 0x4024000000000000: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
--
David.
David Winsemius
Alameda, CA, USA