Hello, I am trying to install and run Rattle on my Dell Laptop and I have Windows 7 OS. The following three commands executed successfully : install.packages("RGtk2") install.packages("rattle") library(rattle) Rattle: Graphical interface for data mining using R. Version 2.5.47 Copyright (c) 2006-2010 Togaware Pty Ltd. Type 'rattle()' to shake, rattle, and roll your data. When I type the below command, I get an error message.> rattle()Error in inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared object 'C:/Users/Kaushik/Documents/R/win-library/2.12/RGtk2/libs/i386/RGtk2.dll': LoadLibrary failure: The specified module could not be found. Failed to load RGtk2 dynamic library, attempting to install it. trying URL 'http://downloads.sourceforge.net/gtk-win/gtk2-runtime-2.22.0-2010-10-21-ash.exe?download' Content type 'application/octet-stream' length 7820679 bytes (7.5 Mb) opened URL downloaded 7.5 Mb Learn more about GTK+ at http://www.gtk.org If the package still does not load, please ensure that GTK+ is installed and that it is on your PATH environment variable IN ANY CASE, RESTART R BEFORE TRYING TO LOAD THE PACKAGE AGAIN Error in as.GType(type) : Cannot convert RGtkBuilder to GType> rattle()Error in as.GType(type) : Cannot convert RGtkBuilder to GType Why do I get this error message ? Please advice. -- View this message in context: http://r.789695.n4.nabble.com/Problem-in-installing-and-starting-Rattle-tp3042502p3042502.html Sent from the R help mailing list archive at Nabble.com.
On 15 November 2010 15:30, kgorahava <kgorahava@gmail.com> wrote:> > Hello, > > I am trying to install and run Rattle on my Dell Laptop and I have Windows > 7 > OS. > > The following three commands executed successfully : > install.packages("RGtk2") > > install.packages("rattle") > > library(rattle) > Rattle: Graphical interface for data mining using R. > Version 2.5.47 Copyright (c) 2006-2010 Togaware Pty Ltd. > Type 'rattle()' to shake, rattle, and roll your data. > > When I type the below command, I get an error message. > > > rattle() > Error in inDL(x, as.logical(local), as.logical(now), ...) : > unable to load shared object > 'C:/Users/Kaushik/Documents/R/win-library/2.12/RGtk2/libs/i386/RGtk2.dll': > LoadLibrary failure: The specified module could not be found. > > Failed to load RGtk2 dynamic library, attempting to install it. > trying URL > ' > http://downloads.sourceforge.net/gtk-win/gtk2-runtime-2.22.0-2010-10-21-ash.exe?download > ' > Content type 'application/octet-stream' length 7820679 bytes (7.5 Mb) > opened URL > downloaded 7.5 Mb > > Learn more about GTK+ at http://www.gtk.org > If the package still does not load, please ensure that GTK+ is installed > and > that it is on your PATH environment variable > IN ANY CASE, RESTART R BEFORE TRYING TO LOAD THE PACKAGE AGAIN > Error in as.GType(type) : Cannot convert RGtkBuilder to GType > > rattle() > Error in as.GType(type) : Cannot convert RGtkBuilder to GType > > Why do I get this error message ? > > Please advice. >It looks like you did not install the gtk2 package (independent of R) first. But in the process, RGtk2 noticed this and it looks like it installed it okay. You might like to follow the instructions that are shouted at you as all capitals: "IN ANY CASE, RESTART R BEFORE TRYING TO LOAD THE PACKAGE AGAIN" Hope that works. Installation instructions for Rattle can be found at: http://datamining.togaware.com/survivor/Install_MS_Windows.html Regards, Graham [[alternative HTML version deleted]]
kgorahava wrote:> > I am trying to install and run Rattle on my Dell Laptop and I have Windows > 7 OS. > > install.packages("RGtk2") > > install.packages("rattle") > > library(rattle) > Rattle: Graphical interface for data mining using R. > Version 2.5.47 Copyright (c) 2006-2010 Togaware Pty Ltd. > Type 'rattle()' to shake, rattle, and roll your data. > > When I type the below command, I get an error message. > >This had bugged me before, and reinstalling Rgtk over and over did not help. I got it to work after total cleanup of all GTk related files (use a global search!) and reinstalling Gtk. So old-version files had come into the way. Dieter -- View this message in context: http://r.789695.n4.nabble.com/Problem-in-installing-and-starting-Rattle-tp3042502p3042857.html Sent from the R help mailing list archive at Nabble.com.
I also have the problem trying to start rattle Windows 7 32-bit R 2.12.0 When I try library(rattle) I get an error message "The procedure entry point deflateSetHeader could not be located in the dynamic link library zilb1.dll" I hit OK and it prompts me to install GTK+ again. I tried to uninstall GTK+ first and delete all related files as Dieter suggested but still wont work :( -- View this message in context: http://r.789695.n4.nabble.com/Problem-in-installing-and-starting-Rattle-tp3042502p3043262.html Sent from the R help mailing list archive at Nabble.com.
Ok to follow up my post, I finally got rattle and RGtk2 to work. The trick is when R prompts me to install Gtk2+ I still hit yes but after the download, once the installation process starts I close the R Gui window. After Gtk2+ installation is complete I start R again and it worked. -- View this message in context: http://r.789695.n4.nabble.com/Problem-in-installing-and-starting-Rattle-tp3042502p3043318.html Sent from the R help mailing list archive at Nabble.com.
CHECK FOR CONFLICTS IN YOUR PATH !!! I had a related problem when trying to use library "RGtk2" for the first time. My problem was that when loading the library R was looking for the file "zlib1.dll" but couldn't find the procedure to launch RGtk2. I was getting an "Entry Point not found" error from Rgui.exe. The reason was because I had another package in my PATH environment variable (C:\program files\Intel\WiFi\bin) which had a CONFLICTING version of the "zlib1.dll" - and it was looking in this file and not the "zlib1.dll" which came with GTK+. Removed this conflict from the PATH and all was ok. -- View this message in context: http://r.789695.n4.nabble.com/Problem-in-installing-and-starting-Rattle-tp3042502p3338807.html Sent from the R help mailing list archive at Nabble.com.
I replace the zlib1.dll in system32 C:\WINDOWS\system32\zlib1.dll with the zlib1.dll in GTK2 D:\GTK2-Runtime\bin\zlib1.dll -- View this message in context: http://r.789695.n4.nabble.com/Problem-in-installing-and-starting-Rattle-tp3042502p3558335.html Sent from the R help mailing list archive at Nabble.com.