How to Install R commander

  • The pre-requisite for running / installing R commander is the installation of R
  • To install R, follow these steps   (link)
  • You install the R Commander on your computer by installing the Rcmdr package within R.
  • Packages are nothing but how R organizes its functionality
  • Open R program on your computer / laptop
  • If you’re using the Windows or Mac versions of R, double-click the R icon on the desktop, or find the R program under the start menu. 
  • This will start R in a new console window with a command line subwindow.
  • You must have administrative rights to your laptop/computer
  • At the command line prompt, which is denoted by the greater than symbol,   >,        type the following command and then press the ENTER key. 
  • install.packages(“Rcmdr”, dependencies = TRUE),    NOTE: R is case-sensitive.
  • the dependencies = TRUE portion of the code above installs the Rcmdr package and all of its dependencies automatically.
  • If the installation of the Rcmdr package is successful, you should be returned to a new command line prompt (i.e.  >) in your R console window.
  • Check Rcmdr package was installed properly
  • library(Rcmdr)

Leave a Reply

Your email address will not be published. Required fields are marked *