Hi rattle-users,
We are trying to get rattle successfully installed on a Linux, RHEL 5 server.
Server OS:
Red Hat Enterprise Linux Server release 5.6 (Tikanga)
Linux gcstat1.corp.acxiom.net 2.6.18-238.9.1.el5 #1 SMP Fri Mar 18 12:42:39 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
Config Details:
Server is behind a firewall with NO internet access.
We load R packages from a local mirror.
GTK install:
$ rpm -qa | grep -i gtk
pygtk2-2.10.1-12.el5
gtk+-1.2.10-56.el5
usermode-gtk-1.88-3.el5.2
pygtk2-libglade-2.10.1-12.el5
gtk2-devel-2.10.4-21.el5_7.7
authconfig-gtk-5.3.21-6.el5
gtk2-2.10.4-21.el5_7.7
gtk+-devel-1.2.10-56.el5
In R:
R version 2.13.2 (2011-09-30)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-unknown-linux-gnu (64-bit)
> library("rattle")
Rattle: A free graphical interface for data mining with R.
Version 2.6.13 Copyright (c) 2006-2011 Togaware Pty Ltd.
Type 'rattle()' to shake, rattle, and roll your data.
> rattle()
Error in as.GType(type) : Cannot convert RGtkBuilder to GType
Inconsistently, we also get this feedback with both library(“RGtk2”) and library("rattle"):
R session is headless; GTK+ not initialized.
And, probably of note too, this last message occurred on the RGtk2 package install.
Any ideas about how to fix this would be greatly appreciated?
Thx, Jason
***************************************************************************
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be legally
privileged.
If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.
If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.
Thank You.
****************************************************************************
--
You received this message because you are subscribed to the Google Groups "rattle-users" group.
To post to this group, send email to rattle...@googlegroups.com.
To unsubscribe from this group, send email to rattle-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rattle-users?hl=en.
Hi Graham,
Thank you for taking time to consider our dilemma!
Please correct me if I’m wrong but it is my understanding that it is the RGtk2 package that builds the interface with GTK? If that is true, then if we go to the CRAN page for RGtk2 it spec’s out the following:
SystemRequirements: Cairo (>= 1.0.0), ATK (>= 1.10.0), Pango (>= 1.10.0), GTK+ (>= 2.8.0), GLib (>= 2.8.0)
We have GTK v2.10 installed
What I suspect, though, is that my view of how this all works is way too simplistic. I’ve forwarded your email to our Senior Sys Admin Engineer to see if it is possible to upgrade GTK to a newer version level.
Thx, Jason
> rattleInfo() Rattle: version 2.6.18 cran 2.6.18 R: version 2.15.0 (2012-03-30) (Revision 58871) Sysname: Linux Release: 2.6.18-308.4.1.el5 Version: #1 SMP Tue Apr 17 17:08:00 EDT 2012 Nodename: productrdev Machine: x86_64 Login: unknown User: hdimitriou Effective_user: hdimitriou Installed Dependencies RGtk2: version 2.20.24 foreign: version 0.8-49 gWidgetsRGtk2: version 0.0-81 Matrix: version 1.0-6 nnet: version 7.3-1 RGtk2Extras: version 0.5.0 rpart: version 3.1-52 survival: version 2.36-14 That was 10 packages.
Regards,
Graham
Regards,
Graham
--
To unsubscribe from this group, send email to rattle-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rattle-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "rattle-users" group.
To post to this group, send email to rattle...@googlegroups.com.
To unsubscribe from this group, send email to rattle-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rattle-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "rattle-users" group.
To post to this group, send email to rattle...@googlegroups.com.
To unsubscribe from this group, send email to rattle-users+unsubscribe@googlegroups.com.
> rattleInfo() Rattle: version 2.6.18 cran 2.6.18 R: version 2.15.0 (2012-03-30) (Revision 58871) Sysname: Linux Release: 2.6.18-308.4.1.el5 Version: #1 SMP Tue Apr 17 17:08:00 EDT 2012 Nodename: productrdev Machine: x86_64 Login: unknown User: hdimitriou Effective_user: hdimitriou Installed Dependencies RGtk2: version 2.20.24 foreign: version 0.8-49 gWidgetsRGtk2: version 0.0-81 Matrix: version 1.0-6 nnet: version 7.3-1 RGtk2Extras: version 0.5.0 rpart: version 3.1-52 survival: version 2.36-14 That was 10 packages.
It is probably the use of GtkBuilder by Rattle that is the issue. The old method of using libglade to build GUIs has been superseded by GtkBuilder in the GTK library, and GtkBiulder does not exist in older versions of GTK. Rattle used to use libglade but now uses GtkBuilder.
Regards,
Graham
On 4 March 2012 03:27, Vanslyke Jason - jvansl wrote:
Hi Graham,
Thank you for taking time to consider our dilemma!
Please correct me if I’m wrong but it is my understanding that it is the RGtk2 package that builds the interface with GTK? If that is true, then if we go to the CRAN page for RGtk2 it spec’s out the following:
SystemRequirements: Cairo (>= 1.0.0), ATK (>= 1.10.0), Pango (>= 1.10.0), GTK+ (>= 2.8.0), GLib (>= 2.8.0)
We have GTK v2.10 installed
What I suspect, though, is that my view of how this all works is way too simplistic. I’ve forwarded your email to our Senior Sys Admin Engineer to see if it is possible to upgrade GTK to a newer version level.
Thx, Jason
> rattleInfo() Rattle: version 2.6.18 cran 2.6.18 R: version 2.15.0 (2012-03-30) (Revision 58871) Sysname: Linux Release: 2.6.18-308.4.1.el5 Version: #1 SMP Tue Apr 17 17:08:00 EDT 2012 Nodename: localhost.localdomain Machine: x86_64 Login: unknown User: hdimitriou Effective_user: hdimitriou Installed Dependencies RGtk2: version 2.20.24 pmml: version 1.2.30 bitops: version 1.0-4.1 colorspace: version 1.1-1 ada: version 2.0-2 amap: version 0.8-7 arules: version 1.0-8 arulesViz: version 0.1-5 biclust: version 1.0.1 cairoDevice: version 2.19 cba: version 0.2-9 descr: version 0.9.7 doBy: version 4.5-3 e1071: version 1.6 ellipse: version 0.3-7 fEcofin: version 290.76 fBasics: version 2160.81 foreign: version 0.8-50 fpc: version 2.0-3 gdata: version 2.8.2 gplots: version 2.10.1 gtools: version 2.6.2 gWidgetsRGtk2: version 0.0-81 Hmisc: version 3.9-3 kernlab: version 0.9-14 latticist: version 0.9-44 Matrix: version 1.0-6 mice: version 2.12 network: version 1.7-1 nnet: version 7.3-1 odfWeave: version 0.7.17 party: version 1.0-2 playwith: version 0.9-53 psych: version 1.2.4 randomForest: version 4.6-6 RColorBrewer: version 1.0-5 reshape: version 0.8.4 RGtk2Extras: version 0.5.0 ROCR: version 1.0-4 rpart: version 3.1-52 rpart.plot: version 1.2-2 RSvgDevice: version 0.6.4.1 survival: version 2.36-14 timeDate: version 2160.95 verification: version 1.32 weightedKmeans: version 1.2.0 XML: version 3.9-4 That was 49 packages.I have read about path and zlib on windows, but i don't know if this can be related to Centos 5 as well.
Dear Rattle-user and Graham Williams,I've installed Rattle on my macs, no problem, and just love the beautiful package and book Graham Williams put together.Now, I must make it available to my users in a computing facility, and install rattle in a big machine running Scientific Linux.After surfing the web for a week, looking for answers, I beg for your help in how to manage the problem with the error: "Error in as.GType(type) : Cannot convert RGtkBuilder to GType"1. RGtk2 installs fine, either not specifying paths or doing setenv PATH "${PATH}:${GTK_PATH}", where GTK_PATH = /usr/lib/gtk-2.0/2.10.0/2. I've checked the package and run the test below. The version should not be a problem according to instructions that say anything >=2.8 should work> require('RGtk2')Loading required package: RGtk2> boundGTKVersion() >= "2.12.0"[1] FALSE> boundGTKVersion()[1] '2.10.43. when i start rattle(), i get the Error in as.GType(type) : Cannot convert RGtkBuilder to GTypeOther info that may help to understand the problem:R version 2.15.2 (2012-10-26) -- "Trick or Treat"
Installed DependenciesRGtk2: version 2.20.25pmml: version 1.2.34bitops: version 1.0-5colorspace: version 1.2-1ada: version 2.0-3amap: version 0.8-7arules: version 1.0-12biclust: version 1.0.1 upgrade available 1.0.2cairoDevice: version 2.19cba: version 0.2-11descr: version 1.0.1doBy: version 4.5-5e1071: version 1.6-1ellipse: version 0.3-7fBasics: version 2160.85foreign: version 0.8-52fpc: version 2.1-5gdata: version 2.12.0ggplot2: version 0.9.3.1gplots: version 2.11.0gtools: version 2.7.0gWidgetsRGtk2: version 0.0-81hmeasure: version 1.0Hmisc: version 3.10-1kernlab: version 0.9-16latticist: version 0.9-44Matrix: version 1.0-11mice: version 2.13network: version 1.7-1.1nnet: version 7.3-5odfWeave: version 0.8.2party: version 1.0-6psych: version 1.3.2randomForest: version 4.6-7
RColorBrewer: version 1.0-5reshape: version 0.8.4
RGtk2Extras: version 0.6.1ROCR: version 1.0-4rpart: version 4.1-0rpart.plot: version 1.4-3survival: version 2.37-4timeDate: version 2160.97verification: version 1.35weightedKmeans: version 1.2.0XML: version 3.95-0.1 upgrade available 3.95-0.2
Your help is super appreciated. thanks, Dani****************
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "rattle-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rattle-users/xnKscYivtfA/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
On Mac-OS there seems to be a mismatch between the version of GTK+ (namely 2.18.5) that is installed by Rattle versus the version that RGtk2 is actually looking for. Look at this diagnostic:Error in dyn.load(file, DLLpath = DLLpath, ...) :unable to load shared object '/Library/Frameworks/R.framework/Versions/3.0/Resources/library/RGtk2/libs/RGtk2.so':dlopen(/Library/Frameworks/R.framework/Versions/3.0/Resources/library/RGtk2/libs/RGtk2.so, 6): Library not loaded: /Library/Frameworks/GTK+.framework/Versions/2.24.X11/Resources/lib/libgtk-x11-2.0.0.dylibI've bolded the version of the GTK framework that is being sought. When I go to that directory, there is version 2.18.X11 that was dutifully installed by Rattle, and there is no other version for Rattle to work with.
Thanks Julian. It seems that the rattle GUI is working for you once you downgraded R. Could the problem be the data you are trying to load? Can you load for example the rattle supplied CSV files?
Hi Graham,I'm having the same problem as others in this thread -- unable to get Rattle working after upgrading to R 3.0, even after I then downgraded (tried 2.15.3 and then 2.11.0).I did my best to start from scratch, i.e. uninstalling GTK files from /library/frameworks, and uninstalling other R versions, but no luck.I'm able to open Rattle, albeit with a bunch of errors in the background, the first of which is:Apr 10 16:56:47 Julian-Himess-MacBook-Pro.local R[5825] <Error>: CGContextSetFont: invalid context 0x0But when I try to open a dataset, I get the following error:An error occured in the following command:crs$dataset <- read.csv("file:///Users/julian/Documents/00IRPS/Q62013/Big Data/Datasets/ToyotaCorolla.xls", na.strings=c(".", "NA", "", "?"), strip.white=TRUE, encoding="UTF-8").The error message was:Error in make.names(col.names, unique = TRUE) :invalid multibyte string at '<d0><cf> ࡱ<1a><e1>'Any ideas?Thanks for your help,Julian
On Monday, April 8, 2013 3:59:34 PM UTC-7, Connie wrote:I would like to try uninstalling GTK, what would be the best way to do that? I downgraded back to R 2.15-something and it works now, but would like to update R to the latest version.
On Friday, March 2, 2012 7:59:31 AM UTC-8, Vanslyke Jason - jvansl wrote:
--
It is not working yet.I tried reinstalling GTK, removing RGtk2 and Rattle and reinstalling them. Nothing.As Jeff mentioned, the problem seems to be in the library pointed in 6): Library not loaded: /Library/Frameworks/GTK+.framework/Versions/2.24.X11/Resources/lib/libgtk-x11-2.0.0.dylibThere is no ...\Versions/2.24.X11 but ...\Versions/2.18.X11Any idea on how to fix it?
Thanks!