Skip to content

numDeriv

2016.8-1.1Package record

Accurate Numerical Derivatives

391packages dependsuggested by 114
9.5Mdownloads / year
89.7%test coverage
11/13flavors OK

Overview

About

Methods for calculating (usually) accurate numerical first and second order derivatives. Accurate calculations are done using 'Richardson''s' extrapolation or, when applicable, a complex step derivative is available. A simple difference method is also provided. Simple difference is (usually) less accurate but is much quicker than 'Richardson''s' extrapolation and provides a useful cross-check. Methods are provided for real scalar and vector valued functions.

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Paul Gilbert <pgilbert.ttv9z@ncf.ca>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Paul",
                      family = "Gilbert",
                      role = c("aut", "cre"),
                      email = "pgilbert.ttv9z@ncf.ca"),
               person(given = "Ravi",
                      family = "Varadhan",
                      role = "aut"))
as necessary.

CRAN check page ↗

Slowest check: 1.1 min · r-devel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 2016.8-1.1
READMENoVignettesNoNEWSYes · 0% structuredCitation fileNoWebsiteYes
Help pages
6includes a package overview page
Examples that run
100%4 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
50%

Downloads

9.5M
CRAN downloads in the past year
Rank #79 · ~26K/day · ~790.3K/mo
Daily download trend is not available in this view yet.
767.4K30 days
2.4M90 days
9.5M1 year
Compare downloads with other packages →
Also on89.9K r2u226 autocran488.5K conda_forge6.2K c2d4u

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)

Installing numDeriv adds no packages beyond those that come with R.

Depends (1)
R >= 2.11.1
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none

People & History

People (from the free-text Author field) (2)
· added in 2012.9-1

Maintainer since 2006.4-1 (2006)

Releases (8)

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
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 2016.8-1.1Latest
    record
    2019-06-06 · current release · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 2016.8-1
    record
    2016-08-27 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 2014.2-1
    record
    2015-05-04 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
Show 20 earlier eventsHide 20 earlier events
  • R
    R 3.0.0 released · 2013-04-03
  • 2012.9-1
    record
    2012-10-14 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 2012.3-1
    record
    2012-03-27 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • 2010.11-1
    record
    2011-01-20 · diff ↗
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • R
    R 2.10.0 released · 2009-10-26
  • R
    R 2.9.0 released · 2009-04-17
  • 2009.2-1
    record
    2009-02-05 · diff ↗
  • R
    R 2.8.0 released · 2008-10-20
  • R
    R 2.7.0 released · 2008-04-22
  • R
    R 2.6.0 released · 2007-10-03
  • R
    R 2.5.0 released · 2007-04-24
  • R
    R 2.4.0 released · 2006-10-03
  • R
    R 2.3.0 released · 2006-04-24
  • 2006.4-1
    record
    2006-04-12
  • R
    R 2.2.0 released · 2005-10-06

Package metadata

First published
2006-04-12
Total releases
8 / 20 yrs
License
GPL-2 OSI
Copyright
2006-2011, Bank of Canada. 2012-2016, Paul Gilbert
Minimum R
≥ 2.11.1
Download size
74 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("numDeriv")

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 numDeriv version 2016.8-1.1 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, 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