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,
Nordlund, Dan (DSHS/RDA)
2015-Feb-10 23:32 UTC
[R] library(Rcmdr) sh: otool: command not found
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.
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-bounces at r-project.org] On Behalf Of varin sacha > Sent: February-10-15 6: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.--- This email has been checked for viruses by Avast antivirus software. http://www.avast.com
Dear John, Dear Dan, Many thanks for your response. It works perfectly. Best, ----- Mail original ----- De : John Fox <jfox at mcmaster.ca> ? : 'varin sacha' <varinsacha at yahoo.fr> Cc : "'r-help at R-project.org'" <r-help at 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-bounces at r-project.org] On Behalf Of varin sacha > Sent: February-10-15 6: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.--- This email has been checked for viruses by Avast antivirus software. http://www.avast.com