Friday, December 14, 2012

Installing R in Ubuntu

To install R (http://cran.r-project.org) and desired packages in Ubuntu, follow the steps:
  1. sudo apt-get install r-base
  2. R (this will open R command window)
  3. To add a package, e.g., signal, run the following
    • install.packages("signal")
    • packageStatus()
    • update.packages()
 That's it!

** Adding R repository paths to package manager may be necessary.

0 comments:

Post a Comment