[R] Can not load Rcmdr

John Fox jfox at mcmaster.ca
Wed Apr 1 15:40:23 CEST 2015


Dear Angela,

There's very little to go on here. The messages to which you refer concern
primarily Mac OS X, where the most common problem is failure to install
XQuartz or to reinstall it after an OS upgrade. Help for this and other Mac
OS X problems is available in the Rcmdr installation notes, at
<http://socserv.socsci.mcmaster.ca/jfox/Misc/Rcmdr/installation-notes.html>.

In my limited experience, Linux systems typically include both X Windows and
a suitable Tcl/Tk. In your case, there's probably little you can do without
administrator privileges to install or update software (including, BTW, R,
for which you're using an old version). You can, however, confirm that the
problem concerns Tcl/Tk. Load the tcltk package independently of the Rcmdr
via library(tcltk). If tcltk loads without error, then try to do something
with it, such as example("tkProgressBar"). 

Finally, I don't think that it's reasonable to think of the Rcmdr as a
substitute for RStudio or Emacs.

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 a b
> Sent: March-31-15 4:20 PM
> To: r-help at r-project.org
> Subject: Re: [R] Can not load Rcmdr
> 
> I have a similar issue with tcl.
> 
> I am using R on a Linux server.  Rcmdr installed OK, but it won't run:
> 
> > R.Version()
> $platform
> [1] "x86_64-unknown-linux-gnu"
> 
> $arch
> [1] "x86_64"
> 
> $os
> [1] "linux-gnu"
> 
> $system
> [1] "x86_64, linux-gnu"
> 
> $status
> [1] ""
> 
> $major
> [1] "3"
> 
> $minor
> [1] "1.0"
> 
> $year
> [1] "2014"
> 
> $month
> [1] "04"
> 
> $day
> [1] "10"
> 
> $`svn rev`
> [1] "65387"
> 
> $language
> [1] "R"
> 
> $version.string
> [1] "R version 3.1.0 (2014-04-10)"
> 
> $nickname
> [1] "Spring Dance"
> 
> > library(Rcmdr)
> Error : .onAttach failed in attachNamespace() for 'Rcmdr', details:
>   call: structure(.External(.C_dotTcl, ...), class = "tclObj")
>   error: [tcl] Invalid state name hover.
> 
> Error: package or namespace load failed for 'Rcmdr'
> >
> 
> 
> This is kind of frustrating because I don't have admin privileges to
install
> Rstudio on this server, either.
> 
> I guess it's time to use Emacs.
> 
> 
> 
> --
> View this message in context: http://r.789695.n4.nabble.com/Can-not-load-
> Rcmdr-tp4655656p4705370.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> 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



More information about the R-help mailing list