Dear Friends,

I was able to install Rattle:

 > library(rattle)
Rattle, Graphical interface for data mining using R
Version 2.4.0. Copyright (C) 2009 Togaware Pty Ltd
Type "rattle()" to shake, rattle, and roll your data.

But:

 > rattle()
Failed to load RGtk2 dynamic library, attempting to install it.
Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath =  
DLLpath, ...) :
   unable to load shared library '/Library/Frameworks/R.framework/ 
Resources/library/tcltk/libs/i386/tcltk.so':
   dlopen(/Library/Frameworks/R.framework/Resources/library/tcltk/libs/ 
i386/tcltk.so, 10): Library not loaded: /usr/local/lib/libtcl8.5.dylib
   Referenced from: /Library/Frameworks/R.framework/Resources/library/ 
tcltk/libs/i386/tcltk.so
   Reason: image not found
Error : .onLoad failed in 'loadNamespace' for 'tcltk'
Error : .onLoad failed in 'loadNamespace' for 'RGtk2'
Error in rattle() :
   The RGtk2 package did not find libglade installed. Please install it.

So:

mk% sudo port install libglade
Password:
--->  Configuring glib1
--->  Building glib1
--->  Staging glib1 into destroot
--->  Installing glib1 @1.2.10_5
--->  Activating glib1 @1.2.10_5
--->  Cleaning glib1
--->  Fetching libxml
--->  Attempting to fetch libxml-1.8.17.tar.gz from ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/libxml/1.8
--->  Verifying checksum(s) for libxml
--->  Extracting libxml
--->  Applying patches to libxml
--->  Configuring libxml
--->  Building libxml
--->  Staging libxml into destroot
--->  Installing libxml @1.8.17_0
--->  Activating libxml @1.8.17_0
--->  Cleaning libxml
--->  Fetching libglade
--->  Attempting to fetch libglade-0.17.tar.gz from ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/libglade/0.17/
--->  Verifying checksum(s) for libglade
--->  Extracting libglade
--->  Configuring libglade
--->  Building libglade
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_devel_libglade/work/libglade-0.17" && make  
all " returned error 2
Command output: glade-init.c: In function 'glade_init':
glade-init.c:41: error: nested functions are disabled, use -fnested- 
functions to re-enable
glade-init.c:41: error: syntax error before 'initialised'
glade-init.c:43: error: 'initialised' undeclared (first use in this  
function)
glade-init.c:43: error: (Each undeclared identifier is reported only  
once
glade-init.c:43: error: for each function it appears in.)
glade-init.c:44: error: 'TRUE' undeclared (first use in this function)
glade-init.c: In function 'glade_load_module':
glade-init.c:66: error: 'GModule' undeclared (first use in this  
function)
glade-init.c:66: error: 'mod' undeclared (first use in this function)
glade-init.c:68: error: 'NULL' undeclared (first use in this function)
glade-init.c:70: warning: implicit declaration of function  
'g_module_supported'
glade-init.c:71: warning: implicit declaration of function 'g_warning'
glade-init.c:76: warning: implicit declaration of function 'g_strdup'
glade-init.c:76: warning: assignment makes pointer from integer  
without a cast
glade-init.c:78: warning: implicit declaration of function 'g_strconcat'
glade-init.c:78: warning: assignment makes pointer from integer  
without a cast
glade-init.c:79: warning: implicit declaration of function  
'g_module_open'
glade-init.c:79: error: 'G_MODULE_BIND_LAZY' undeclared (first use in  
this function)
glade-init.c:81: warning: implicit declaration of function  
'g_module_symbol'
glade-init.c:81: error: 'gpointer' undeclared (first use in this  
function)
glade-init.c:81: error: syntax error before ')' token
glade-init.c:83: warning: implicit declaration of function  
'g_module_make_resident'
glade-init.c:86: warning: implicit declaration of function  
'g_module_close'
glade-init.c:89: warning: implicit declaration of function  
'g_module_name'
glade-init.c:89: warning: implicit declaration of function  
'g_module_error'
glade-init.c:93: warning: implicit declaration of function 'g_free'
make[2]: *** [glade-init.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Here is some information about my system:

 > sessionInfo()
R version 2.8.1 (2008-12-22)
i386-apple-darwin8.11.1

locale:
C/C/en_US/C/C/C

attached base packages:
[1] grid      stats     graphics  grDevices utils     datasets  methods
[8] base

other attached packages:
  [1] vcd_1.2-1        colorspace_1.0-0 rattle_2.4.0     doBy_3.7
  [5] JGR_1.6-2        iplots_1.1-2     JavaGD_0.5-2     rJava_0.6-1
  [9] MASS_7.2-45      lattice_0.17-20

loaded via a namespace (and not attached):
[1] Hmisc_3.4-4     cluster_1.11.12 tools_2.8.1
Warning message:
'DESCRIPTION' file has 'Encoding' field and re-encoding is not possible



	[[alternative HTML version deleted]]

