General Purpose Optimization in R using C++
Overview
Perform general purpose optimization in R using C++. A unified wrapper interface is provided to call C functions of the five optimization algorithms ('Nelder-Mead', 'BFGS', 'CG', 'L-BFGS-B' and 'SANN') underlying optim().
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 8includes a package overview page
- Examples that run
- 100%6 run in a plain check
- Exported functions with examples
- 86%
- Documented parameters
- 100%
- Return-value docs
- 0%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- 8
Stars over time
Forks over time
Issues over time
PRs over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/ypan1988/roptim on 2026-10-11.
The repository owner accepts GitHub Sponsors
Dependencies
Installing roptim adds 2 packages (2 with compiled code, 2.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.1.7Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.1.62022-08-06 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.1.52020-06-29 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.1.42020-04-02 · diff ↗
- 0.1.32020-03-28 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.1.22018-11-12 · diff ↗
- 0.1.12018-10-18 · diff ↗
- 0.1.02018-09-30
Show 1 earlier eventHide 1 earlier event
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-09-30
- Total releases
- 8 / 8 yrs
- License
- GPL (>= 2) OSI
- Download size
- 170 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("roptim")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.