rattle on a mac os x 10.6.8 - problems

233 views
Skip to first unread message

mashiro

unread,
Mar 23, 2014, 9:34:48 AM3/23/14
to rattle...@googlegroups.com
Hi guys,
I'm struggling to find any sort of solution in order to use rattle on my macbook.
Currently i'm using the 3.0.3 release of R and installed the rattle source, but no luck.
I tried many times to reinstall the GTk2 and all the sort of tricks found on the internet, but with no luck.
Does anyone know of a version that works?
Or maybe, does anyone use mac 10.6.8 having rattle to work properly?
Thank you guys in advance!

Graham Williams

unread,
Mar 23, 2014, 3:08:17 PM3/23/14
to rattle-users
Can you provide details of the problem?

I'm trying to track down any and all remaining Mac OS/X (and all other) issues at the moment.

Information of the error messages or problems you have would be useful in debugging any remaining issues.

Also please include the output of

> library(rattle)
> rattleInfo()

Thanks,

Graham Williams


--
You received this message because you are subscribed to the Google Groups "rattle-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rattle-users...@googlegroups.com.
To post to this group, send email to rattle...@googlegroups.com.
Visit this group at http://groups.google.com/group/rattle-users.
For more options, visit https://groups.google.com/d/optout.

Keith Bierman

unread,
Mar 23, 2014, 4:47:26 PM3/23/14
to rattle...@googlegroups.com
OK, here's mine:

R for Mac OS X GUI written by:

Simon Urbanek

Hans-Jörg Bibiko

Stefano M. Iacus


R: Copyright © 2004-2013

The R Foundation 

for Statistical Computing

http://www.R-project.org

Acknowledgments:

Cocoa Quartz device derived 

from a Byron Ellis' work

Preferences pane based on 

AMPreferencePane classes by

Andreas Mayer

RegExKitLite by John Engelhart

Line View by Noodlesoft LLC

Contributors:

Rob J Goedman


Translators:

Anestis Antoniadis (fr)

Aaike De Wever (nl)

Romain François (fr)

Rob J Goedman (nl)

Stefano M. Iacus (it)

Masafumi Okada (jp)

Simon Urbanek (de)

Alexandre Villoing (fr)


Please send feedback to:

R-SIG-Mac mailing list

(see https://stat.ethz.ch/mailman/listinfo )

also see R webpages for details

> 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.
> rattleInfo()
Rattle: version 3.0.2 r169 cran 3.0.2
R: version 3.0.3 (2014-03-06) (Revision 65126)

Sysname: Darwin
Release: 13.1.0
Version: Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64
Nodename: khb-Air.local
Machine: x86_64
Login: khb
User: khb
Effective_user: khb

Installed Dependencies
RGtk2: version 2.20.27
colorspace: version 1.2-4
cairoDevice: version 2.20
doBy: version 4.5-9 upgrade available 4.5-10
foreign: version 0.8-59
Matrix: version 1.1-2 upgrade available 1.1-2-2
nnet: version 7.3-7
rpart: version 4.1-5 upgrade available 4.1-6
survival: version 2.37-7
XML: version 3.95-0.2

That was 12 packages.

Update the packages with either of the following commands:

  > install.packages(c("doBy", "Matrix", "rpart"))

  > install.packages(rattleInfo())

Alternatively update all installed packages:

  > update.packages()


update.packages()
answering "y" to all questions

then rattle() results in
 rattle()
Error in resetRattle(FALSE) : attempt to apply non-function

Asking it to use the example weather dataset results in the same error message (and no dataset) 

Asking it to create a new dataset fails, with the same error message.

Exiting and reloading:

> 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.
> rattleInfo()
Rattle: version 3.0.2 r169 cran 3.0.2
R: version 3.0.3 (2014-03-06) (Revision 65126)

Sysname: Darwin
Release: 13.1.0
Version: Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64
Nodename: khb-Air.local
Machine: x86_64
Login: khb
User: khb
Effective_user: khb

Installed Dependencies
RGtk2: version 2.20.27
colorspace: version 1.2-4
cairoDevice: version 2.20
doBy: version 4.5-10
foreign: version 0.8-59
Matrix: version 1.1-2-2
nnet: version 7.3-7
rpart: version 4.1-6
survival: version 2.37-7
XML: version 3.95-0.2

That was 12 packages.

Same failures, for "new" and trying to use the sample dataset.

Keith Bierman
khb...@gmail.com
kbiermank AIM
303 997 2749
Message has been deleted

mashiro

unread,
Mar 25, 2014, 4:35:10 PM3/25/14
to rattle...@googlegroups.com
Installed the new version, same issue..

> library(rattle)
Rattle: A free graphical interface for data mining with R.
Version 3.0.4 r177 Copyright (c) 2006-2014 Togaware Pty Ltd.
Type 'rattle()' to shake, rattle, and roll your data.
> rattle()

 *** caught segfault ***
address 0x0, cause 'unknown'

Traceback:
 1: checkPtrType(object, "GtkBuilder")
 2: method(obj, ...)
 3: crv$rattleGUI$getObject(widget)
 4: theWidget("sample_count_spinbutton")
 5: fixGtkBuilderAdjustments()
 6: rattle()

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace



---------------------------------------------------------


> rattleInfo()
Rattle: version 3.0.4 r177 cran 3.0.2
R: version 3.0.3 (2014-03-06) (Revision 65126)

Sysname: Darwin
Release: 10.8.0
Version: Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
Nodename: unknown
Machine: i386

Installed Dependencies
RGtk2: version 2.20.27
colorspace: version 1.2-4
foreign: version 0.8-59 upgrade available 0.8-60
Matrix: version 1.1-2-2
nnet: version 7.3-7
rpart: version 4.1-6 upgrade available 4.1-7
survival: version 2.37-7

That was 9 packages.

Update the packages with either of the following commands:

  > install.packages(c("foreign", "rpart"))

  > install.packages(rattleInfo())

Alternatively update all installed packages:

  > update.packages()

Graham Williams

unread,
Mar 28, 2014, 4:59:55 AM3/28/14
to rattle-users
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.

Regards,
Graham Williams


--

David Winsemius

unread,
Mar 29, 2014, 12:09:17 AM3/29/14
to rattle...@googlegroups.com

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

Graham Williams

unread,
Mar 29, 2014, 1:41:53 AM3/29/14
to rattle-users
Hi David,

It is GTK+ and we need a version much more recent than 2.10.0. I've no Mac OS/X at present to test on, making it a little difficult debugging from my end - though we have determined it works just fine on later versions of Mac OS/X  - is it possible to upgrade Mac OS/X - that's one pathway. The GtkBuilder is what is in later  versions of GTK+ and not earlier versions. Are you able to build/install the later version of Gtk+ on this older version of Mac OS/X? There may be a way to test the GTK+ version on Mac but without testing first hand I don't know.

Graham Williams

David Winsemius

unread,
Mar 29, 2014, 3:54:43 PM3/29/14
to rattle...@googlegroups.com

On Mar 28, 2014, at 10:41 PM, Graham Williams wrote:

> Hi David,
>
> It is GTK+ and we need a version much more recent than 2.10.0. I've no Mac OS/X at present to test on, making it a little difficult debugging from my end - though we have determined it works just fine on later versions of Mac OS/X - is it possible to upgrade Mac OS/X - that's one pathway. The GtkBuilder is what is in later versions of GTK+ and not earlier versions. Are you able to build/install the later version of Gtk+ on this older version of Mac OS/X? There may be a way to test the GTK+ version on Mac but without testing first hand I don't know.

I have no difficulty with the GTK+ framework installed. It's version 2.24.X11 from the ATT website repository.

So how do you test for GtkBuilder's functionality, either from R or from a Terminal session?

--
David.

timeitself

unread,
Mar 30, 2014, 6:15:10 PM3/30/14
to rattle...@googlegroups.com
Graham
Your Rattle is really great and my students love it.

I'm still struggling to make it fully work on Mac OS (latest version, Mavericks).
Last resource will be to run it in a Ubuntu VM, but then they will have to play even more with memory limitations (with large datasets) ...

Anyway, the following are some of the outputs:

Installing Rattle library

> library(rattle)
Rattle: A free graphical interface for data mining with R.
Version 3.0.3 r175 Copyright (c) 2006-2013 Togaware Pty Ltd.
Type 'rattle()' to shake, rattle, and roll your data.

———————————————————————————————————————————————
Starting Rattle (from Rattle console)


Welcome to Rattle (rattle.togaware.com).

Rattle is a free graphical user interface for Data Mining, developed using R. R is a free software environment for statistical computing and graphics. Together they provide a sophisticated environments for data mining, statistical analyses, and data visualisation.

See the Help menu for extensive support in using Rattle. The book Data Mining with Rattle and R is available from Amazon. The Togaware Desktop Data Mining Survival Guide includes Rattle documentation and is available from datamining.togaware.com

Rattle is licensed under the GNU General Public License, Version 2. Rattle comes with ABSOLUTELY NO WARRANTY. See Help -> About for details.

Rattle Version 3.0.3 r175. Copyright 2006-2014 Togaware Pty Ltd.
Rattle is a registered trademark of Togaware Pty Ltd.
Rattle was created and implemented by Graham Williams.

———————————————————————————————————————————————
Launching Associate->Basket

Attaching package: ‘arules’

The following object(s) are masked from ‘package:base’:

    %in%, write

Error in executeAssociateTab() : attempt to apply non-function

———————————————————————————————————————————————
The dataset I used is dvdtrans.csv, as at page 199 of your Data Mining with Rattle and R book.
arules is 1.1-2

I tried using R 3.0, but then Rattle doesn't display graphic OK (no characters/letters, just squares).
All the other functions seems working fine


Thanks a lot!
Carlo

Graham Williams

unread,
Mar 30, 2014, 11:29:26 PM3/30/14
to rattle-users
Hi Carlo,

The error in the Associate tab was fixed in Rattle 3.0.4:


Graham Williams

timeitself

unread,
Mar 31, 2014, 11:57:58 AM3/31/14
to rattle...@googlegroups.com
Thanks Graham

I installed 3.0.4.
It didn't work with the version of R I had for the previous version of Rattle (it was R 2.15.3).
Everything is fine with R 3.0.2.

Thanks a lot!

Carlo
Reply all
Reply to author
Forward
0 new messages