[R-SIG-Mac] R2.11 Rattle & Co
Morgan
spontex1 at bluewin.ch
Thu May 6 22:25:40 CEST 2010
Great update....
I finally manager to get rattle working... I still have the GTK warnings but rattle works !!! Despite
the language of my system is set to english, it was the clue.
Here's the detailed and working procedure for Mac OSX
and R2.11
0) Make sure X11 is installed (if not install it from your restore DVDs)
1) Install latest GTK from GTK_2.
18.5-X11.pkg (http://r.research.att.com/libs/GTK_2.18.5-X11.pkg
2) Install GGOBI from http://www.ggobi.org/downloads/ggobi-2.1.8.dmg3) Install R from http://www.r-project.org/(I also
installed gfortran-4.2.3.dmg and tcltk-8.5.5-x11.dmg)
4) Launch R
5) Quit R (4&5 create the R preference plist used in
6)
6) Launch terminal and execute: defaults write org.R-project.R force.LANG en_US.UTF-8
7) Launch R and
> install.
packages("rattle", dependencies=c("Depends", "Suggests"))
8) Start up Rattle
> library(rattle)
> rattle()
Test on my
two mac running 10.6.3. Does it work for you guys too?
Cheers,
Morgan
Message: 1
Date: Wed, 5 May 2010 10:22:16 +0000
(GMT)
From: Morgan <spontex1 at bluewin.ch>
To: <r-sig-mac at stat.math.ethz.ch>
Subject: Re: [R-SIG-Mac] R2.11 Rattle & Co
Message-ID:
<10090386.73821273054936440.JavaMail.webmail at ps13zhb.bluewin.ch>
Content-Type: text/plain;charset="UTF-8"
Hi,
I have the exact same problem here.
I looked around and it seems that "rggobi" is a required dependency. I
tried
to install it different ways but it always fails:
* installing *source* package ?rggobi? ...
checking for pkg-
config... no
checking for GGOBI... configure: error: The pkg-config script could not be found or is too old. Make
sure
it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you
may
set the environment variables GGOBI_CFLAGS
and GGOBI_LIBS to avoid the need to call pkg-config.
See the pkg-config
man
page for more details.
To get pkg-config, see <http://pkg-config.freedesktop.org/>.See`config.log' for more details.
ERROR: configuration
failed for package ?rggobi?
* removing ?/Library/Frameworks/R.framework/Versions/2.11/Resources/library/rggobi?
Les
packages t?l?charg?s sont dans
?/private/var/folders/m3/m3AtKey5G98OKxQeAccax++++TI/-Tmp-
/RtmpnNSqSu/downloaded_packages?
That's where I am...so far
Regards,
Morgan
----Message d'origine----
Message: 2
Date: Wed, 5 May 2010 09:23:12 +0200
From: "Richard R. Liu" <richard.liu at pueo-owl.ch>
To: r-sig-mac at stat.math.ethz.ch
Subject: Re: [R-SIG-Mac] R2.11 Rattle & Co
Message-ID: <4F94079D-3658-472E-8341-7749E2BBB966 at pueo-owl.ch>
Content-
Type:
text/plain; charset="us-ascii"; Format="flowed";
DelSp="yes"
Simon, Morgan,
I have the latest version of
Rattle,
2.5.30, correctly installed, I
think, and running on R version 2.11.0 Patched (2010-05-01 r51879)
under OS
X
10.5.8. I have the same problem as you, Morgan, i.e., the
Gtk warning "Unable to find default local directory
monitor type".
Here is a run that provokes the message:
R version 2.11.0 Patched (2010-05-01 r51879)
Copyright (C)
2010 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
R is free software and comes with ABSOLUTELY NO
WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for
distribution
details.
Natural language support but running in an English locale
R is a collaborative project with
many
contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in
publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser
interface
to help.
Type 'q()' to quit R.
[R.app GUI 1.34 (5584) i386-apple-darwin9.8.0]
[Workspace restored from
/Users/richard/.RData]
> library(rattle)
Loading required package: pmml
Loading required package: XML
Rattle:
Graphical interface for data mining using R.
Version 2.5.30 Copyright (c) 2006-2010 Togaware Pty Ltd.
Type 'rattle()'
to shake, rattle, and roll your data.
> rattle()
(R:2547): Gtk-WARNING **: Unable to find default local directory
monitor type
The rattle() function seems to start X11. This takes some time. When
the X11 console finally
appears,
ensure that Data is the active tab
and Source is set to Spreadsheet. Click the Filename button. On my
installation that is sufficient to cause the warning. Is that your
experience, Morgan? It might be necessary to
begin browsing in the
Select A File dialog. In that case, select All Files in the file type
dropdown, navigate
to,
say, a tab-separated file, and click Open. I
enclose such a file for your convenience.
Regards,
Richard
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rattle_input.txt
URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20100505/bea21c88/attachment-0001.txt>--------------next
part --------------
Richard R. Liu
Dittingerstr. 33
CH-4053 Basel
Switzerland
Tel.: +41 61 331 10 47
Mobil: +41
79
708 67 66
Email: richard.liu at pueo-owl.ch
On May 4, 2010, at 18:03 , r-sig-mac-request at stat.math.ethz.ch wrote:
>
R2.11 Rattle & Co
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type:
application/pkcs7-signature
Size: 3686 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20100505/bea21c88/attachment-0001.bin>
------------------------------
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at stat.
math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
End of R-SIG-Mac Digest, Vol 87, Issue 10
More information about the R-SIG-Mac
mailing list