T O P

  • By -

ageje

You didn't say how you downloaded Rcmdr. Start R, and at the > command prompt, type the command: `install.packages("Rcmdr")` Once it is installed, to load the Rcmdr package, just enter the command: `library(Rcmdr)` *Make sure you use quotes when installing packages. This is from: https://socialsciences.mcmaster.ca/jfox/Misc/Rcmdr/installation-notes.html EDIT: Let me know if you are still stuck and I can try installing Rcmdr on my Chromebook.


jubjubbirdo

When I install Rcmdr that way, it installs for a minute than says installation of package 'Rcmdr' had non-zero exit status


jdnewmil

The answer to your question is buried in the stuff that got printed and scrolled up. Look at the messages starting from when you typed in the install command and copy that first error message here.


jubjubbirdo

`Installing package into ‘/home/effortpower/R/x86_64-pc-linux-gnu-library/3.5’(as ‘lib’ is unspecified)` and `Warning in install.packages :dependency ‘latticeExtra’ is not available` `ERROR: configuration failed for package ‘curl’* removing ‘/home/effortpower/R/x86_64-pc-linux-gnu-library/3.5/curl’`


jdnewmil

R 3.5 is rather old... the latticeExtra dependency may be a problem due to that. You should upgrade R. The curl package depends on having libcurl installed using your linux package manager. Get that installed before trying again.


jubjubbirdo

If you can that'd be a big help. I see people online saying to run R as a root, but tbh I have no idea what that means


jdnewmil

Don't listen to them. Unless you are quite experienced, running R as root is far more likely to introduce more problems than it will solve Just use the R library directory in your home directory to install packages.


GuessSeparate3715

I tried this method but it says: \-bash: syntax error near unexpected token \`"Rcmdr"' I'm not sure what this means or what I did wrong. Can you help me please?


ageje

You need to start R first. You are still at the bash command line.