Dear John, Dear Dan, Many thanks for your response. It works perfectly.
Best, ----- Mail original ----- De : John Fox <j...@mcmaster.ca> À : 'varin sacha' <varinsa...@yahoo.fr> Cc : "'r-help@R-project.org'" <r-help@r-project.org> Envoyé le : Mercredi 11 février 2015 3h12 Objet : RE: [R] library(Rcmdr) sh: otool: command not found Dear varin sacha, This problem presumably will also arise if you try to load the tcltk package directly via library(tcltk) and has been discussed before on the R-SIG-Mac email list, for example at <https://stat.ethz.ch/pipermail/r-sig-mac/2014-December/011260.html>. The problem is fixed in the patched version of R 3.1.2 for Mac OS X, available at <http://r.research.att.com/>. I hope this helps, John ------------------------------------------------------- John Fox, Professor McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox/ > -----Original Message----- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of varin sacha > Sent: February-10-15 6:17 PM > To: r-help@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@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. --- This email has been checked for viruses by Avast antivirus software. http://www.avast.com ______________________________________________ R-help@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.