Currently VarPro is an R-package only available on our GitHub repository but will be soon available on CRAN.
To create the R package using the GitHub repository, you will need an installation of R (> v3.0) that is capable of compiling source code packages containing C-code. This means that the approprate C-code compilers need to be in place and accessible by the R packaging and installation engine.
Like many other R packages, the simplest way to obtain
varPro
is to install it directly from CRAN or Github via
typing the following command in R console:
varPro
typically requires the latest development
version of the randomForestSRC
package available
on our GitHub
repository. However, it should also work with the latest package
available on R.
To install varPro from Github type following commands in the R console:
# install.packages("devtools")
# ensure to obtain the newest version of ‘randomForestSRC’
# devtools::install_github("kogalur/randomForestSRC")
devtools::install_github("kogalur/varPro")
# another way
install.packages("varPro", repos = "https://cran.us.r-project.org")
Cite this vignette as
M. Lu, A. Shear, U. B.
Kogalur, and H. Ishwaran. 2025. “varPro: installing varPro vignette.” http://www.varprotools.org/articles/installation.html.
@misc{LuInstall,
author = "Min Lu and Aster Shear and Udaya B. Kogalur and Hemant Ishwaran",
title = {{varPro}: installing {varPro} vignette},
year = {2025},
url = {http://www.varprotools.org/articles/installation.html},
howpublished = "\url{http://www.varprotools.org/articles/installation.html}",
note = "[accessed date]"
}