Li, L. (2007), Bayesian Classification and Regression with High Dimensional Features: abstract
Instruction of Installing an R package
This is an R add-on package. R is a free software environment for statistical computing and graphics, available from http://www.r-project.org/. You need to install R and add this package.
Install
Method 1: Install from source
R instruction for installing from source package can be found by typing ?INSTALL in R console. Simply, you need to do the following:
Download the add-on R package, say mypkg, and type the following command in Unix console to install it to /my/own/R-packages/:
$ R CMD INSTALL mypkg -l /my/own/R-packages/
Method 2: Install from CRAN directly
Type the following command in R console to install it to /my/own/R-packages/ directly from CRAN:
> install.packages("mypkg", lib="/my/own/R-packages/")
Load the library
Type the following command in R console to load the package
> library("mypkg", lib.loc="/my/own/R-packages/")
Instruction of using R
- Official R manuals
- A short R tutorial with examples (PDF, 19 pages) by myself
Back to Longhai Li's software packages