[R] Problem with downloading library(Rcmdr)

David Winsemius dwinsemius at comcast.net
Sat Nov 5 20:42:50 CET 2016


> On Nov 5, 2016, at 11:27 AM, varin sacha via R-help <r-help at r-project.org> wrote:
> 
> Dear R-experts,
> 
> Here below you will find my R sessionInfo. I have a problem with the library(Rcmdr). The error message is here below. How can I solve that problem ?

I'm not an Rcmdr user and my Mac is too old to support Sierra so unable to attempt replication. All I am able offer is a search on what appear to be similar issues in the past. You do need to indicate your XQuartz version. I see there have been three recent releases suggesting to me that there might have been teething difficulties with the birth of the neanate Sierra.

	• XQuartz 2.7.11 - 2016-10-29

	• XQuartz 2.7.10 - 2016-10-22

	• XQuartz 2.7.9 - 2016-05-05

You might also mention in any follow-up whether this is being done inside MacGUI or at an R console launched from Terminal.app.

Make sure you have reviewed:
http://socserv.socsci.mcmaster.ca/jfox/Misc/Rcmdr/installation-notes.html


Over the years there have been many questions regarding the three-way marriage of R, MacOS, and Rcmdr that relate to Tk/Tcl functions. Here's a relatively recent one that mentions the image function:

http://markmail.org/search/?q=list%3Aorg.r-project.r-sig-mac+tcl+Rcmdr+image#query:list%3Aorg.r-project.r-sig-mac%20tcl%20Rcmdr%20image+page:1+mid:y5mgjtgtw65eqzfu+state:results


So I think I would make sure you have a version of R that has Tcl and have the most uptodate X11 version (XQuartz) and once you do that and then try to reload R, load Rcmdr _before_ RcmdrMisc and before all those other packages. If you still get an error, then repost with version details of _all_ the components mentioned to the  R-SIG-Mac mailing list and copy John Fox. (Might not be necessary to give him a copy since I think he monitors R-SIG-Mac for Rcmdr issues.)


-- 
David.
> 
> 
> Many thanks.
> 
> 
> 
> sessionInfo()
> R version 3.3.2 (2016-10-31)
> Platform: x86_64-apple-darwin13.4.0 (64-bit)
> Running under: macOS Sierra 10.12
> 
> locale:
> [1] fr_CH.UTF-8/fr_CH.UTF-8/fr_CH.UTF-8/C/fr_CH.UTF-8/fr_CH.UTF-8
> 
> attached base packages:
> [1] splines   stats     graphics  grDevices utils     datasets  methods   base 
> 
> other attached packages:
> [1] RcmdrMisc_1.0-5 sandwich_2.3-4  car_2.1-3 
> 
> loaded via a namespace (and not attached):
> [1] Rcpp_0.12.7         tcltk2_1.2-11       nloptr_1.0.4        RColorBrewer_1.1-2  plyr_1.8.4          class_7.3-14 
> [7] tools_3.3.2         digest_0.6.10       rpart_4.1-10        lme4_1.1-12         gtable_0.2.0        nlme_3.1-128 
> [13] htmlTable_1.7       lattice_0.20-34     mgcv_1.8-15         Matrix_1.2-7.1      parallel_3.3.2      SparseM_1.72 
> [19] relimp_1.0-5        e1071_1.6-7         gridExtra_2.2.1     Rcmdr_2.3-1         stringr_1.1.0       cluster_2.0.5 
> [25] knitr_1.14          MatrixModels_0.4-1  grid_3.3.2          nnet_7.3-12         data.table_1.9.6    tcltk_3.3.2 
> [31] readxl_0.1.1        survival_2.40-1     foreign_0.8-67      latticeExtra_0.6-28 minqa_1.2.4         Formula_1.2-1 
> [37] ggplot2_2.1.0       magrittr_1.5        htmltools_0.3.5     Hmisc_4.0-0         scales_0.4.0        MASS_7.3-45 
> [43] abind_1.4-5         pbkrtest_0.4-6      colorspace_1.2-7    quantreg_5.29       stringi_1.1.2       acepack_1.4.1 
> [49] munsell_0.4.3       chron_2.3-47        zoo_1.7-13 
> 
> 
>> library(Rcmdr)
> Error : .onAttach a échoué dans attachNamespace() pour 'Rcmdr', détails :
> appel : structure(.External(.C_dotTclObjv, objv), class = "tclObj")
> erreur : [tcl] invalid command name "image".
> 
> Erreur : le chargement du package ou de l'espace de noms a échoué pour 'Rcmdr'
> 
> ______________________________________________
> 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.

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list