On Jan 10, 2009, at 5:11 PM, David Winsemius wrote:

I followed those instructions, foolishly thinking that the new build might allow rattle to install with the 64 bit version of R when it had formerly failed to compile in the 64 bit environment. I can now launch the 32 bit version with the GUI app that had previously been installed with the ATT/Urbanek R 2.8.0, but perhaps not surprisingly, when I try to launch the 64 bit GUI, I get a system message "the application R_2.8_64bit" quit unexpectedly".


Hmm. Clearly, any other day I would urge you to update to the latest version ;) - but R 2.8.0 was known to work with the GUI. Can you, please, send me the crash log?


I realize that the name of the application is what I assigned it to keep it distinct. I also realize that I will probably need to reinstall your experimental 64 bit binary when your website emerges from maintenance, Monday? But for the future is there is a preferred way to segregate the CRAN versions from your 64 bit versions? Is it as "simple" as the process described in earlier postings about running different versions of R? (The descriptions didn't seem that simple, but I am usually capable of following explicit directions.)


Ideally you don't have to, because the 32-bit part is sort of identical to the CRAN R (*), so on Leopard it doesn't really matter which version you are running. You can cannot segregate them easily, because identical paths are embedded in both binaries, so it's rather messy (and you'd have to modify every download package as well). I didn't think it would be useful given the equality, but it could be done (e.g. I could give the Leopard version a different installed name).

Cheers,
Simon

(*) - technically the only difference is that one is compiled on Tiger and the other on Leopard. They use the same set of tools and libraries. However, there is the slight difference in repository packages location - see the R for Mac FAQ, but you can override that if you wish. (This should *not* be considered an official recommendation ;))


--
David Winsemius


On Jan 10, 2009, at 2:18 PM, Simon Urbanek wrote:


On Jan 10, 2009, at 9:24 AM, Michael Kubovy wrote:

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.


How? If you had used CRAN binaries all would be working.

Install R 2.8.1 from CRAN (full image, this includes Tcl/Tk), GTK+ from http://R.urbanek.info/ (*) and you should be fine.

(*) - http://R.research.att.com/ is the canonical source, but this weekend it is down due to building maintenance, so please use http://R.urbanek.info as a backup until the main site is up on Monday.


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

If you want to use MacPorts then you're entirely on your own and you'll have to compile R and all packages yourself (or get them via MacPorts). Experience has shown that cannot mix-and-match MacPorts and native builds, mostly because MacPorts are incomplete.



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

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac



_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac



_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to