[R] library(Rcmdr) sh: otool: command not found

varin sacha varinsacha at yahoo.fr
Wed Feb 11 00:16:48 CET 2015


Hi R experts,

I have just updated R and RStudio. I am running OS X 10.6.8

R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin10.8.0 (64-bit)


RStudio Version 0.98.1102 – © 2009-2014 RStudio, Inc.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.59.10 (KHTML, like Gecko)


Everything is ok for installing the Rcmdr package.

install.packages("Rcmdr")
Installing package into ‘/Users/Caro/Library/R/3.1/library’
(as ‘lib’ is unspecified)
essai de l'URL 'http://cran.rstudio.com/bin/macosx/contrib/3.1/Rcmdr_2.1-6.tgz'
Content type 'application/x-gzip' length 5340999 bytes (5.1 Mb)
URL ouverte
==================================================
downloaded 5.1 Mb


The downloaded binary packages are in
/var/folders/V2/V26Pbtc-GsSUTVPWEj6Bdk+++TI/-Tmp-//RtmpgNlyXf/downloaded_packages
> 


But once I write library(Rcmdr), it doesn't work.

library(Rcmdr)
Le chargement a nécessité le package : splines
Le chargement a nécessité le package : RcmdrMisc
Le chargement a nécessité le package : car
Le chargement a nécessité le package : sandwich
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 ‘Rcmdr’
sh: otool: command not found

Has somebody any idea of how I can solve this problem ?

Thanks,



More information about the R-help mailing list