RcppNLoptExample: 'Rcpp' Package Illustrating Header-Only Access to 'NLopt'

An example package which shows use of 'NLopt' functionality from C++ via 'Rcpp' without requiring linking, and relying just on 'nloptr' thanks to the exporting API added there by Jelmer Ypma. This package is a fully functioning, updated, and expanded version of the initial example by Julien Chiquet at <https://github.com/jchiquet/RcppArmadilloNLoptExample> also containing a large earlier pull request of mine.

Getting started

Package details

AuthorDirk Eddelbuettel [aut, cre] (<https://orcid.org/0000-0001-6419-907X>)
MaintainerDirk Eddelbuettel <edd@debian.org>
LicenseGPL (>= 2)
Version0.0.2
URL https://github.com/eddelbuettel/rcppnloptexample https://dirk.eddelbuettel.com/code/rcpp.nloptexample.html
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("RcppNLoptExample")

Try the RcppNLoptExample package in your browser

Any scripts or data that you put into this service are public.

RcppNLoptExample documentation built on April 4, 2025, 5:14 a.m.