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