Rattle 2.5.47 released - simplified Windows install 32/64 bit

196 views
Skip to first unread message

Graham Williams

unread,
Nov 13, 2010, 2:32:40 PM11/13/10
to rattle-users
A new release of Rattle is making its way to CRAN (currently on the Austrian server).

Check the Change Log link for details


The major changes relate to simplifying the installation of Rattle under the recently released R 2.12.0 on Microsoft Windows 32bit and 64bit. The major advance for R 2.12.0 is the improved support for 64bit Microsoft Windows and thus support for much larger datasets in memory.

See the new installation steps at


For Microsoft Windows installations, to upgrade your Rattle installation you may need to remove any old installs of the Gtk+ libraries using the Uninstall application from the Microsoft Windows Control Panel). Then install the new Gtk2 library:


You can the update Rattle to version 2.5.47:

    > install.packages("rattle")
    > library(rattle)
    > rattle.info()

The output from rattle.info() will include an "install.packages" command that will identify Rattle related packages that have updates available. You can cut-and-paste that command to the R prompt to have those packages updated in your installation.

A clean installation of Rattle on Microsoft Windows still requires the separate installation of the Gtk+ libraries (which remains a little more effort for 64bit versions). Michael Lawrence (the author of the RGtk2 package) is looking at options to automate this step. When that happens the installation of Rattle will only require two steps: install R and install.packages("rattle"). Everything else will be installed as required on demand.

Please let me know of any problems.

Regards,
Graham

D2

unread,
Nov 13, 2010, 3:34:07 PM11/13/10
to rattle-users
Up and running on the following:

Windows 7/64bit
R x64 2.12.0

Thanks for the speedy fix Graham! You saved my bacon. Mucho
appreciated.

Looking forward to the next update!

D

On Nov 13, 2:32 pm, Graham Williams <Graham.Willi...@togaware.com>
wrote:
> A new release of Rattle is making its way to CRAN (currently on the Austrian
> server).
>
> Check the Change Log link for details
>
>    http://cran.r-project.org/web/packages/rattle/index.html
>
> The major changes relate to simplifying the installation of Rattle under the
> recently released R 2.12.0 on Microsoft Windows 32bit and 64bit. The major
> advance for R 2.12.0 is the improved support for 64bit Microsoft Windows and
> thus support for much larger datasets in memory.
>
> See the new installation steps at
>
>    http://datamining.togaware.com/survivor/Internet_Connected.html
>
> For Microsoft Windows installations, to upgrade your Rattle installation you
> may need to remove any old installs of the Gtk+ libraries using the
> Uninstall application from the Microsoft Windows Control Panel). Then
> install the new Gtk2 library:
>
> http://downloads.sourceforge.net/gtk-win/gtk2-runtime-2.22.0-2010-10-...

Nordlund, Dan (DSHS/RDA)

unread,
Nov 14, 2010, 2:40:12 AM11/14/10
to rattle...@googlegroups.com
I was able to get rattle up and running on my Windows 7 x64 box running R-2.12.0, both 32-bit and 64-bit. However, following the instructions for my Windows 7 32-bit computer with R-2.12.0 did not work. When trying to run rattle() I got the error message about zlib1.dll. I searched my machine, found zlib1.dll in multiple package directories and in the windows\system32 (at least 10 different locations. I eventually copied zlib1.dll from the c:\R\userlibs\RGtk2\libs\i386 subdirectory into the c:\R\R-2.12.0\bin\i386 subdirectory (which is in my path) and rattle then ran without error. I haven't tested it completely, but so far it works.

I am not a Windows 7 expert, so I don't know what the zlib1.dll does, but I have multiple copies on my Win 7 32-bit machine. Many programs apparently provide their own version, so my work around may not work in general, and it may yet cause other problems. Just wanted to let folks know what my experience was in case others were still having problems, and also maybe this will help the developers figure out an ultimate solution.

Dan

Daniel J. Nordlund
Washington State Department of Social and Health Services
Planning, Performance, and Accountability
Research and Data Analysis Division
Olympia, WA 98504-5204

Graham Williams

unread,
Nov 14, 2010, 2:55:35 AM11/14/10
to rattle...@googlegroups.com
Thanks for that Dan. Was this using version 2.5.47 of Rattle? I thought I had fixed this issue for 2.5.47.

Version 2.5.47 is currently propagating through CRAN and may not be on all mirrors just yet.

The "bug" does not actually sit with Rattle. It can be replicated doing:

> library(XML)
> library(RGtk2)

but is not apparent if you do those around the other way:

> library(RGtk2)
> library(XML)

Thus the fix in Rattle is to ensure we load RGtk2 before loading XML.

Apparently this is a known issue with recent versions of the zlib1.dll library and so getting an older version of zlib1.dll in your PATH before the newer version probably helps.

Also, you can actually install the win32 gtk+ libraries in the same way that you installed the win64 libraries by downloading the official zip file from gtk.org. The RGtk2 author is looking to include these libraries directly in the RGtk2 package (which seems to be how Windows deals with shared libraries - and thus ends up with multiple copies it seems) and thus avoid the kind of issues we see.

Regards,
Graham




--
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.


tony nolan

unread,
Nov 17, 2010, 3:29:53 PM11/17/10
to rattle...@googlegroups.com

Good Morning,

I have been working on a series of walk through exercises to help people learn data mining with rattle. The concept is that you get a basic story line, and then a series of questions. You then have a step by step guide to how to answer these questions using both R code and rattle functions.  Then a small sample of the output.

an example is below

I was wondering if any one thinks that a series of these might be useful?

regards
Tony


Our exercise is to find the right data to predict a range of weather condition on a certain day. Your uncle Simon has asked for your help. He manages hotel which is located around 10 kms from the center of the Canberra, the national capital of Australia. The problem is that the hotel has been booked for a wedding. However this is no ordinary wedding. The couple are both children of ambassadors from different countries. The wedding is planned for August 17th, which will be televised to both countries.

Library(rattle)  - Loads the Rattle package and the associated datasets into the memory. The dataset we need to solve this problem is one associated dataset with Rattle, called weatherAUS.
 
This first thing we want to do is to get a feel for our data. So we want to look at the names of the variables,
names(weatherAUS) Show the variables Names
 
[1] "Date"          "Location"      "MinTemp"       "MaxTemp"     
[5] "Rainfall"      "Evaporation"   "Sunshine"      "WindGustDir" 
[9] "WindGustSpeed" "WindDir9am"    "WindDir3pm"    "WindSpeed9am"
[13] "WindSpeed3pm"  "Humidity9am"   "Humidity3pm"   "Pressure9am" 
[17] "Pressure3pm"   "Cloud9am"      "Cloud3pm"      "Temp9am"     
[21] "Temp3pm"       "RainToday"     "RISK_MM"       "RainTomorrow"
 
We also want to look at the number of variables and the number of observations.
 
nrow(weatherAUS) – displays the number of rows (observations on the longest variable).
 
[1] 28818
 
ncol(weatherAUS) – displays the number of columns (variables).
 
[1] 24
 
 Now we want to look at a dataset to gain some knowledge about the data. So we need to look at the Head , Tail, and Sample..
 
head(weatherAUS) – First six records of the dataset.
 
        Date Location MinTemp MaxTemp Rainfall Evaporation Sunshine WindGustDir
1 2008-12-01   Albury    13.4    22.9      0.6          NA       NA           W
2 2008-12-02   Albury     7.4    25.1      0.0          NA       NA         WNW
3 2008-12-03   Albury    12.9    25.7      0.0          NA       NA         WSW


 
UTS CRICOS Provider Code: 00099F
DISCLAIMER: This email message and any accompanying attachments may contain confidential information.
If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or
attachments. If you have received this message in error, please notify the sender immediately and delete
this message. Any views expressed in this message are those of the individual sender, except where the
sender expressly, and with authority, states them to be the views of the University of Technology Sydney.
Before opening any attachments, please check them for viruses and defects.

Think. Green. Do.

Please consider the environment before printing this email.

Jerom Janssen

unread,
Nov 19, 2010, 4:00:46 AM11/19/10
to rattle...@googlegroups.com
Dear All,

It seems to me that such a series could be very useful.

Maybe a wiki-approach could work too; more people could contribute and let Rattle "take off" even faster?

Regards,

Jerom Janssen

Duleep Samuel

unread,
Nov 19, 2010, 4:02:22 AM11/19/10
to rattle...@googlegroups.com
It is really useful and helps to understand, tnx, Samuel, Bangalore India

Rolf Edberg

unread,
Nov 19, 2010, 3:18:56 PM11/19/10
to rattle...@googlegroups.com

It would help a lot!!

 

Regards,

 

Rolf

Sweden

 


Shane Butler

unread,
Nov 22, 2010, 3:12:07 PM11/22/10
to rattle...@googlegroups.com
FYI Win7 64bit is working great for me, thanks Graham!!
Shane

Reply all
Reply to author
Forward
0 new messages