Skip to content

optimx

2025-4.9

Expanded Replacement and Extension of the 'optim' Function

64packages dependsuggested by 23
262.8Kdownloads / year
54.9%test coverage
13/13flavors OK

Overview

About

Provides a replacement and extension of the optim() function to call to several function minimization codes in R in a single statement. These methods handle smooth, possibly box constrained functions of several or many parameters. Note that function 'optimr()' was prepared to simplify the incorporation of minimization codes going forward. Also implements some utility codes and some extra solvers, including safeguarded Newton methods. Many methods previously separate are now included here. This is the version for CRAN.

Install

Health

CRAN checks
13OK
Slowest check: 3.2 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2025-4.9
READMEYes · 1,751 wordsVignettesYes · 6 · staticNEWSYes · 0% structuredCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Cites a JSS article
Help pages
37includes a package overview page
Examples that run
97%33 run in a plain check · 1 hold no code
Exported functions with examples
94%
Documented parameters
93%
Return-value docs
100%
Help pages citing references
32%

Downloads

262.8K
CRAN downloads in the past year
Rank #783 · ~720/day · ~21.9K/mo
Daily download trend is not available in this view yet.
18.3K30 days
60.1K90 days
262.8K1 year
Compare downloads with other packages →
Also on3.7K r2u10 autocran7.2K conda_forge259 c2d4u

Repository

8Stars
2Forks
1Open issues
0Open PRs
0Releases
93Commits
2Commit identities
93 commits · Last activity 2025-05-23 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
33%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
44

Stars over time

2025-08-09 · 62026-08-20 · 8
PracticesBeta

Checks run against github.com/nashjc/optimx on 2026-10-11.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing optimx adds 3 packages (1 with compiled code, 2.6 MB of source tarballs). Heaviest: nloptr 2.1 MB, pracma 389 KB, numDeriv 74 KB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none

People & History

People (4)
Author, Maintainer since 0.84 (2010)
Contributor · added in 2024-12.2
Contributor · added in 2013.8.6
Listed in earlier versions (1)
Nash
no longer listed · 2013.8.6 to 2025-4.9
Releases (23)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 2025-4.9Latest
    record
    2025-04-10 · current release · diff ↗ ·
    added 2 exports
    optimr2opm, pd_check
  • 2024-12.2
    record
    2024-12-10 · diff ↗ ·
    added 1 export
    opm2optimr
  • R
    R 4.4.0 released · 2024-04-24
  • 2023-10.21
    record
    2023-10-24 · diff ↗
  • 2023-8.13
    record
    2023-08-14 · diff ↗ ·
    removed 1 export
    snewtonm
    added 5 exports
    checkallsolvers, grpracma, ncg, nvm, snewtm
  • R
    R 4.3.0 released · 2023-04-21
  • 2022-4.30
    record
    2022-05-10 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2021-10.12
    record
    2021-10-13 · diff ↗
  • 2021-6.12
    record
    2021-06-13 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 2020-4.2
    record
    2020-04-08 · diff ↗
  • 2020-2.2
    record
    2020-02-07 · diff ↗
Show 26 earlier eventsHide 26 earlier events
  • 2020-1.31
    record
    2020-02-01 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 2018-7.10
    record
    2018-09-30 · diff ↗ ·
    added 35 exports
    axsearch, bmchk, bmstep, checksolver, ctrldefault, dispdefault, fnchk, gHgen, gHgenb, grback, grcentral, grchk, grfwd, grnd, hesschk, hjn, kktchk, multistart, optimr, opm, optchk, optsp, polyopt, proptimr, Rcgmin, Rcgminu, Rcgminb, tn, tnbc, Rvmmin and 5 more
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 2014.5.4
    record
    2014-05-05 · diff ↗
  • 2013.8.7
    record
    2014-11-13 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 2013.8.6.1
    record
    2013-08-09 · diff ↗
  • 2013.8.6
    record
    2014-05-05 · diff ↗ ·
    removed 2 exports
    optansout, get.result
    added 1 export
    coef<-
  • R
    R 3.0.0 released · 2013-04-03
  • 2012.04.01
    record
    2012-04-22 · diff ↗
  • 2012-3.31
    record
    2012-03-31 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 2011-8.2
    record
    2012-02-20 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 2011-8.1
    record
    2011-08-21 · diff ↗
  • 2011-2.29
    record
    2011-07-29 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • 2011-2.27
    record
    2011-03-01 · diff ↗
  • 0.88
    record
    2010-10-23 · diff ↗
  • R
    R 2.12.0 released · 2010-10-15
  • 0.84
    record
    2010-08-02
  • R
    R 2.11.0 released · 2010-04-22

Package metadata

First published
2010-08-02
Total releases
23 / 16 yrs
License
GPL-2 OSI
Download size
2.2 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("optimx")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.18637/jss.v043.i09, 10.18637/jss.v060.i02.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for optimx version 2025-4.9 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy