How do I run an R package?

How do I run an R package?
Answer
To use the package,
invoke the library(package) command to load it into the current session.
…
On MS Windows:
  1. Choose Install Packages from the Packages menu.
  2. Select a CRAN Mirror. (e.g. Norway)
  3. Select a package. (e.g. boot)
  4. Then use the library(package) function to load it for use. (e.g. library(boot))
 

Tìm kiếm

Back
Top