Hi Denis,
For reasons dealing with R's event loop, you need to use X11 Tcl/Tk
rather than the aqua Tcl/Tk version that comes with OS X 10.4 when
using Tcl/Tk with R. The CRAN installer of R comes with X11 Tcl/Tk.
In terms of how GRASS will behave with X11 Tcl/Tk, I don't know,
but I can imagine bad things if you run both aqua and X11 Tcl/Tk at
the same time. The people who most likely will are Lorenzo Moretti
(the address of his GRASS on OS X web site is http://
wwwamb.bologna.enea.it/forgrass/) and William Kyngesburye (the
address of his GRASS on OS X web site is http://www.kyngchaos.com/
macosx/grassinstall).
Dan
On 29-Sep-06, at 10:39 AM, Denis Chabot wrote:
Hi,
I just tried two things that required Tcl/Tk (acronym I've seen a lot
lately, but that means next to nothing to me): Grass 6 and R packages
tcltk and PBSmodelling. Grass simple vanished before completing its
launch, and this is what I got from within R:
Loading Tcl/Tk interface ... Erreur dans fun(...) : Can't find a
usable init.tcl in the following directories:
@TCL_IN_FRAMEWORK@ @TCL_IN_FRAMEWORK@
This probably means that Tcl wasn't installed properly.
Erreur : .onLoad a ?chou? dans 'loadNamespace' pour 'tcltk'
Erreur : le chargement du package / espace de noms a ?chou? pour
'tcltk'
For some reason I thought Tcl/Tk came standard with Tiger. I cannot
find trace of it on my HD. I've used Spotlight but I think this does
not search in the invisible folders. I looked manually in /usr and
did not see it, but I could have missed it.
Was I wrong to assume it came with Tiger? Was it like XWindow, a box
I had to click to have it included (in which case I'm not sure I
clicked it). I also remember seeing an option for Tcl/Tk when I
installed R 2.3, and I thought I selected it.
Anyway, although answers to the above will satisfy my curiosity, my
main question is: I downloaded TclTkAqua-8.4.10 from
http://sourceforge.net/project/showfiles.php?
group_id=86100&package_id=89343
Can I do any harm in installing this? Is it a solution to the
problems above? Is it the solution you'd recomment?
Thanks in advance,
Denis
-----------------------------
Denis Chabot, Ph. D.
Chercheur en bio?nerg?tique, Bioenergetics researcher
T: (418) 775-0624
F: (418) 775-0740
chabotd at dfo-mpo.gc.ca
Institut Maurice-Lamontagne
Minist?re des P?ches et Oc?ans du Canada
Department of Fisheries and Oceans, Canada
850 route de la Mer, CP 1000
Mont-Joli, QC
Canada