[R-SIG-Mac] Tcl/Tk

Kasper Daniel Hansen khansen at stat.Berkeley.EDU
Fri Sep 29 22:04:55 CEST 2006


When you install R-2.3.1 click "customize" during the installation  
and choose to install the Tcl/Tk framework.

Kasper

On Sep 29, 2006, at 11:58 AM, Dan Putler wrote:

> Hi Denis,
>
> Was X11 running before you launched R? The error message suggests to
> me it wasn't running.
>
> It is extremely unlikely you will need to re-install OS X. Although,
> I can imagine you needing to build GRASS from source on your machine
> with appropriate configure options to get it to use X11 Tcl/Tk
> instead of using Apple's version.
>
> Dan
>
> On 29-Sep-06, at 11:39 AM, Denis Chabot wrote:
>
>> Hi Dan,
>>
>> I remember now, I had included Tcl/Tk when I installed last time.
>> Still, I grabbed that straw, downloaded the installer and did a
>> default install (I checked, it included Tcl/Tk).
>>
>> However I'm still not out of trouble. I hope I'll find a solution
>> less disturbing than reinstalling OS X...
>>
>> This was after a restart immediately following reinstallation of R
>> 2.3.1:
>>
>>
>> R : Copyright 2006, The R Foundation for Statistical Computing
>> Version 2.3.1 (2006-06-01)
>> ISBN 3-900051-07-0
>>
>> R est un logiciel libre livré sans AUCUNE GARANTIE.
>> Vous pouvez le redistribuer sous certaines conditions.
>> Tapez 'license()' ou 'licence()' pour plus de détails.
>>
>> R est un projet collaboratif avec de nombreux contributeurs.
>> Tapez 'contributors()' pour plus d'information et
>> 'citation()' pour la façon de le citer dans les publications.
>>
>> Tapez 'demo()' pour des démonstrations, 'help()' pour l'aide
>> en ligne ou 'help.start()' pour obtenir l'aide au format HTML.
>> Tapez 'q()' pour quitter R.
>>
>> [Workspace restored from /Users/dchabot/.RData]
>>
>>> library(tcltk)
>> Loading Tcl/Tk interface ... Erreur dans fun(...) : couldn't
>> connect to display ":0"
>> Erreur : .onLoad a échoué dans 'loadNamespace' pour 'tcltk'
>> Erreur : le chargement du package / espace de noms a échoué pour
>> 'tcltk'
>>
>>> R.Version()
>> $platform
>> [1] "powerpc-apple-darwin8.6.0"
>>
>> $arch
>> [1] "powerpc"
>>
>> $os
>> [1] "darwin8.6.0"
>>
>> $system
>> [1] "powerpc, darwin8.6.0"
>>
>> $status
>> [1] ""
>>
>> $major
>> [1] "2"
>>
>> $minor
>> [1] "3.1"
>>
>> $year
>> [1] "2006"
>>
>> $month
>> [1] "06"
>>
>> $day
>> [1] "01"
>>
>> $`svn rev`
>> [1] "38247"
>>
>> $language
>> [1] "R"
>>
>> $version.string
>> [1] "Version 2.3.1 (2006-06-01)"
>>
>>>
>>
>> Le 06-09-29 à 14:04, Dan Putler a écrit :
>>
>>> 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:
>>>>
>>>>> library(tcltk)
>>>> 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
>>>>
>>>> _______________________________________________
>>>> R-SIG-Mac mailing list
>>>> R-SIG-Mac at stat.math.ethz.ch
>>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>>
>>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list