[R-SIG-Mac] tcltk

Simon Urbanek simon.urbanek at r-project.org
Thu Dec 25 21:51:08 CET 2014


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



More information about the R-SIG-Mac mailing list