installation.RmdCurrently randomForestSGT is an R-package available on our GitHub repository and 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
randomForestRHF is to install it directly from CRAN or
Github via typing the following command in R console:
randomForestRHF 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 randomForestRHF 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/randomForestRHF")
# another way
install.packages("randomForestRHF", repos = "https://cran.us.r-project.org")
Cite this vignette as
H. Ishwaran, M. Lu, and
U. B. Kogalur. 2026. “randomForestRHF: installing randomForestRHF
vignette.” http://www.randomforestrhf.org/articles/installation.html.
@misc{LuGettingStarted,
author = "Hemant Ishwaran and Min Lu and Udaya B. Kogalur",
title = {{randomForestRHF}: installing {randomForestRHF} vignette},
year = {2026},
url = {http://www.randomforestrhf.org/articles/installation.html},
howpublished = "\url{http://www.randomforestrhf.org/articles/installation.html}",
note = "[accessed date]"
}