Skip to content

Can not load Rcmdr

5 messages · John Fox, a b, Ista Zahn

#
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/
install
---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
a b
#
Thanks for the quick response!

While I agree Rcommander is not the same thing as either ESS or RStudio, it
can also be useful as a wrapper when testing out functions and scripts.  I
learned R on it and it's a more comfortable environment for me than ESS. 
(Thank you for writing it!)

Strangely tcltk seems to be functioning just fine on my system. 
tkProgressBar() shows a little horizontal thermometer window with no
complaints.

The problem comes when I try to load Rcommander.
splines, RcmdrMisc, car, and sandwich all load, but then a dialog box pops
up saying that XLConnect is missing and asking permission to install it.

XLConnect won't install because rJava is apparently unavailable for
XLConnectJars because I need to be root in order to install rJava

So I guess I've just answered my own question - without admin access I won't
have either Rstudio or RCommander.  That's the cost of paying someone else
to maintain our Big Machine as part of a server array.

Thanks again,

anja







--
View this message in context: http://r.789695.n4.nabble.com/Can-not-load-Rcmdr-tp4655656p4705394.html
Sent from the R help mailing list archive at Nabble.com.
a b
#
BTW I've also tried this as non-root:

R CMD javareconf -e

and there's still a problem with rJava not being able to access the library
that was supposedly compiled and installed in my home R directory.

I think it may have to do with the fact we're using an older version of R. 
We're using Java 1.8.0_31-b13 which may be an issue too.



--
View this message in context: http://r.789695.n4.nabble.com/Can-not-load-Rcmdr-tp4655656p4705399.html
Sent from the R help mailing list archive at Nabble.com.
#
Dear anja,

You shouldn't really need XLConnect -- if it's absent, the only consequence
is that you  won't be able to import Excel files directly in the Rcmdr. Just
say "no" when the Rcmdr asks to install XLConnect, and the Rcmdr GUI should
start up normally (unless there's some other problem). If that's the case,
you can set options(Rcmdr=list(check.packages=FALSE)) before you load the
Rcmdr package, and the package check will be skipped; more conveniently you
can put this command in your R profile.

I hope this helps,
 John
it
up
---
This email has been checked for viruses by Avast antivirus software.
#
On Wed, Apr 1, 2015 at 10:14 AM, a b <angela.baldo at ars.usda.gov> wrote:
Why don't you just say "No" when it asks if you want XLConnect?

--Ista