Fast Unified Random Forests for Survival, Regression, and Classification (RF-SRC)
Overview
Fast OpenMP parallel computing of Breiman's random forests for univariate, multivariate, unsupervised, survival, competing risks, class imbalanced classification and quantile regression. New Mahalanobis splitting for correlated outcomes. Extreme random forests and randomized splitting. Suite of imputation methods for missing data. Fast random forests using subsampling. Confidence regions and standard errors for variable importance. New improved holdout importance. Case-specific importance. Minimal depth variable importance. Visualize trees on your Safari or Google Chrome browser. Anonymous random forests for data privacy.
Forest storage and imputation
- Added optional
compact = TRUEsaving tofast.save()andfast.save.list(). Compact saves omit terminal-node information and reconstruct it during prediction without growing new trees. This can reduce disk use at the cost of additional prediction time. The fitted object is unchanged, and both saving modes use the existing loaders. The default remainscompact = FALSE. - Added compact-save eligibility checks before removing an existing destination, including checks of every forest when saving a list. Compact saving requires a non-anonymous forest with retained training predictors and responses, and a sampling-size specification that preserves the training sample size after loading.
fast.save()also checks the grow-object class before removing its destination.
Show all changes in 3.9.0Hide the rest of the changes in 3.9.0
impute.learn()now acceptsterminal.qualtsandterminal.quantsinfull.sweep.options, allowing terminal-node storage controls to reach the saved target learners. These settings are independent of initial-imputation and supervised auxiliary-forest options.
Documentation and build
- Reorganized and clarified help for forest saving and loading, imputation and OOD scoring, quantile regression, survival and classification performance, multivariate extraction, partial dependence, subsampling, tuning, and associated plots. Expanded explanations of prediction selection, score and interval interpretation, returned values, graphical controls, and examples.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-07
- OK14 OK2026-03-10
Documentation
- Help pages
- 39includes a package overview page
- Examples that run
- 27%10 run in a plain check (1 of them under a condition) · 27 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 96%
- Documented parameters
- 77%
- Return-value docs
- 89%
- Help pages citing references
- 77%
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 269
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/kogalur/randomforestsrc on 2026-10-18.
GitHub Pages site last deployed 2021-08-20
Dependencies
Installing randomForestSRC adds 62 packages (31 with compiled code, 51 MB of source tarballs). Heaviest: stringi 11 MB, bslib 5.6 MB, igraph 4.8 MB.
Show all 32 packagesHide all 32 packages
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 3.9.0Latest
- 3.8.0
- 3.7.0
- RR 4.6.0 released · 2026-04-24
- 3.6.22026-04-19 · diff ↗
- 3.6.1
- 3.6.02026-03-25 · diff ↗ ·
added 6 exports
impute.learn, impute.learn.rfsrc, load.impute.learn, load.impute.learn.rfsrc, save.impute.learn, save.impute.learn.rfsrc - 3.5.12026-02-12 · diff ↗
- 3.5.02026-01-11 · diff ↗
- 3.4.52025-11-26 · diff ↗
- 3.4.42025-11-05 · diff ↗
- 3.4.32025-10-10 · diff ↗
- 3.4.22025-09-30 · diff ↗ ·
removed 6 exports
find.interaction, find.interaction.rfsrc, synthetic.rfsrc, synthetic, stat.split, stat.split.rfsrcadded 1 export
print.imbalanced.performance - 3.4.12025-06-08 · diff ↗
- 3.4.02025-05-26 · diff ↗ ·
removed 2 exports
var.select, var.select.rfsrcadded 5 exports
fast.save, fast.load, fast.save.list, fast.load.list, lsos - RR 4.5.0 released · 2025-04-11
Show 71 earlier eventsHide 71 earlier events
- 3.3.32025-01-16 · diff ↗
- 3.3.22025-01-14 · diff ↗
- 3.3.1
- 3.3.02024-06-25 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 3.2.32023-12-06 · diff ↗
- 3.2.22023-05-24 · diff ↗ ·
added 4 exports
print.bootsample, print.bootsample.rfsrc, print.subsample, print.subsample.rfsrc - RR 4.3.0 released · 2023-04-21
- 3.2.12023-03-03 · diff ↗
- 3.2.02023-01-12 · diff ↗
- 3.1.12022-07-06 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 3.1.02022-04-15 · diff ↗
- unarchivedReturned to CRAN2022-03-02
- archivedRemoved from CRAN2022-02-23check problems were not corrected in time
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 3.0.32013-12-10 · diff ↗
- 3.0.22022-03-02 · diff ↗
- 3.0.12022-02-14 · diff ↗
- 3.0.02022-01-04 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 2.15.32013-02-25 · diff ↗
- 2.14.02021-11-11 · diff ↗ ·
added 4 exports
get.brier.survival, get.pr.auc, get.pr.curve, get.rfq.threshold - 2.13.0
- 2.12.12021-09-05 · diff ↗
- 2.12.0
- 2.11.0
- 2.10.12021-02-10 · diff ↗
- 2.10.02021-01-31 · diff ↗ ·
added 5 exports
get.tree, get.tree.rfsrc, sid.perf.metric, sidClustering, sidClustering.rfsrc - 2.9.32020-01-21 · diff ↗
- 2.9.22019-11-18 · diff ↗
- 2.9.12019-07-08 · diff ↗
- 2.9.02019-04-22 · diff ↗ ·
removed 7 exports
cindex, quantileReg, quantileReg.rfsrc, rfsrcFast, rfsrcFast.rfsrc, rfsrcSyn, rfsrcSyn.rfsrcadded 22 exports
extract.quantile, get.auc, get.bayes.rule, get.brier.error, get.cindex, get.confusion, get.misclass.error, get.quantile, get.quantile.crps, get.quantile.stat, holdout.vimp, holdout.vimp.rfsrc, plot.quantreg, plot.quantreg.rfsrc, quantreg, quantreg.rfsrc, rfsrc.cart, rfsrc.fast, synthetic.rfsrc, synthetic, tune.nodesize, tune.nodesize.rfsrc - 2.8.0
- 2.7.02018-08-18 · diff ↗ ·
added 11 exports
extract.bootsample, extract.subsample, get.mv.error.block, plot.subsample, plot.subsample.rfsrc, rfsrcFast, rfsrcFast.rfsrc, subsample, subsample.rfsrc, tune, tune.rfsrc - 2.6.12018-05-18 · diff ↗
- 2.6.0
- 2.5.12017-10-17 · diff ↗
- 2.5.02017-08-07 · diff ↗ ·
removed 1 export
rf2rfzadded 7 exports
cindex, get.mv.error, get.mv.predicted, get.mv.vimp, partial, quantileReg, quantileReg.rfsrc - 2.4.22017-03-07 · diff ↗
- 2.4.12016-11-06 · diff ↗
- 2.4.0
- 2.3.02016-09-07 · diff ↗
- 2.2.02016-05-17 · diff ↗
- 2.1.02016-03-17 · diff ↗
- 2.0.72016-01-15 · diff ↗
- 2.0.5
- 2.0.02015-12-07 · diff ↗
- 1.6.12015-03-04 · diff ↗
- 1.6.02015-01-12 · diff ↗
- 1.5.52014-08-26 · diff ↗
- 1.5.4
- 1.5.3
- 1.5.22014-06-05 · diff ↗
- 1.5.12014-05-16 · diff ↗
- 1.5.02014-05-13 · diff ↗
- 1.4
- 1.32013-07-22 · diff ↗
- 1.22013-04-30 · diff ↗
- 1.1.02013-02-25 · diff ↗
- 1.0.22012-12-07 · diff ↗
- 1.0.12012-11-13 · diff ↗
- 1.0.02012-10-31
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2012-10-31
- Total releases
- 70 / 14 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.3.0
- Bundled data
- 851 KB / 11 files
- Download size
- 1.3 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("randomForestSRC")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.