[R-SIG-Mac] tcltk

Simon Urbanek simon.urbanek at r-project.org
Fri Dec 26 21:28:13 CET 2014


On Dec 26, 2014, at 3:25 AM, Ivan Calandra <ivan.calandra at univ-reims.fr> wrote:

> Thank you Simon for your answer.
> But I cannot find Xcode for MacOS 10.6...

Go to

https://developer.apple.com/downloads

and search for Xcode 4.2

or use

https://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_4.2_with_ios_5_sdk/xcode_4.2_and_ios_5_sdk_for_snow_leopard.dmg



> And by the way, why did it work with R3.1.1?
> 

Because this check is new in R 3.1.2. I think we may modify the check to not fail if otool is not installed.

Cheers,
Simon



> Ivan
> 
> --
> Ivan Calandra, ATER
> University of Reims Champagne-Ardenne
> GEGENA² - EA 3795
> CREA - 2 esplanade Roland Garros
> 51100 Reims, France
> +33(0)3 26 77 36 89
> ivan.calandra at univ-reims.fr
> https://www.researchgate.net/profile/Ivan_Calandra
> 
> Le 25/12/14 21:51, Simon Urbanek a écrit :
>> Most recent tcltk is trying to detect the source of Tcl/Tk using otool to make sure all necessary libraries are present. However, older system don't have otool installed by default so this will fail if you don't have Xcode installed which provides otool. It seems that this is the case on your machine, installing Xcode command line tools should fix the issue.
>> 
>> Cheers,
>> Simon
>> 
>> 
>> On Dec 25, 2014, at 11:15 AM, Ivan Calandra <ivan.calandra at univ-reims.fr> wrote:
>> 
>>> Dear useRs,
>>> 
>>> I have just upgraded to R 3.1.2 for MacOS 10.6.8 (with the binary for Snow Leopard).
>>> 
>>> Everything is fine except that I get an error when loading TclTk:
>>>> library(tcltk)
>>> Error : .onLoad a échoué dans loadNamespace() pour 'tcltk', détails :
>>>  appel : system2("otool", c("-L", shQuote(DLL)), stdout = TRUE)
>>>  erreur : erreur lors de l'exécution d'une commande
>>> Erreur : le chargement du package ou de l'espace de noms a échoué pour ‘tcltk’
>>> sh: otool: command not found
>>> 
>>> What could be wrong? If needed I can translate the error. I had no problem with R 3.1.1.
>>> 
>>> Thanks in advance and Merry Christmas!
>>> Ivan
>>> 
>>> 
>>> 
>>> 
>>> Here is my session info:
>>>> sessionInfo()
>>> R version 3.1.2 (2014-10-31)
>>> Platform: x86_64-apple-darwin10.8.0 (64-bit)
>>> 
>>> locale:
>>> [1] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8
>>> 
>>> attached base packages:
>>> [1] stats     graphics  grDevices utils     datasets  methods base
>>> 
>>> 
>>> 
>>> -- 
>>> Ivan Calandra, ATER
>>> University of Reims Champagne-Ardenne
>>> GEGENA² - EA 3795
>>> CREA - 2 esplanade Roland Garros
>>> 51100 Reims, France
>>> +33(0)3 26 77 36 89
>>> ivan.calandra at univ-reims.fr
>>> https://www.researchgate.net/profile/Ivan_Calandra
>>> 
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac at r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> 
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 



More information about the R-SIG-Mac mailing list