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

Nordlund, Dan (DSHS/RDA) NordlDJ at dshs.wa.gov
Wed Feb 11 00:32:28 CET 2015


Try setting dependencies = TRUE in install.packages()

install.packages("Rcmdr", dependencies = TRUE)


hope this is helpful,

Dan

Daniel J. Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services


> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of varin
> sacha
> Sent: Tuesday, February 10, 2015 3:17 PM
> To: r-help at R-project.org
> Subject: [R] library(Rcmdr) sh: otool: command not found
> 
> 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,
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.


More information about the R-help mailing list