The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Rcppautodiff: An Interface to the C++ Automatic Differentiation Library 'autodiff'

Provides an interface from R to the 'autodiff' library <https://autodiff.github.io/>, a modern header-only C++ library for automatic differentiation. Unlike numerical differentiation, automatic differentiation computes derivatives of functions to machine precision without truncation error, using either forward or reverse mode. The 'autodiff' header files are shipped with this package so that other R packages can use them by including 'Rcppautodiff' in the 'LinkingTo' field of their 'DESCRIPTION' file. Example programs demonstrate computing derivatives of single-variable and multi-variable functions, gradient vectors, Jacobian matrices and derivatives with respect to parameters, using 'Rcpp' and 'RcppEigen'.

Version: 0.1.0
Imports: Rcpp (≥ 1.0.8.3), RcppEigen
LinkingTo: Rcpp, RcppEigen
Suggests: knitr, rmarkdown, tinytest
Published: 2026-07-19
DOI: 10.32614/CRAN.package.Rcppautodiff
Author: Satyaprakash Nayak ORCID iD [aut, cre]
Maintainer: Satyaprakash Nayak <satyaprakash.nayak at gmail.com>
BugReports: https://github.com/sn248/Rcppautodiff/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/sn248/Rcppautodiff, https://sn248.github.io/Rcppautodiff/
NeedsCompilation: yes
Materials: README
CRAN checks: Rcppautodiff results

Documentation:

Reference manual: Rcppautodiff.html , Rcppautodiff.pdf
Vignettes: Introduction to 'Rcppautodiff' (source, R code)

Downloads:

Package source: Rcppautodiff_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: Rcppautodiff_0.1.0.zip, r-oldrel: Rcppautodiff_0.1.0.zip
macOS binaries: r-release (arm64): Rcppautodiff_0.1.0.tgz, r-oldrel (arm64): Rcppautodiff_0.1.0.tgz, r-release (x86_64): Rcppautodiff_0.1.0.tgz, r-oldrel (x86_64): Rcppautodiff_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=Rcppautodiff to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.