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.
| Version: | 0.0.2 | 
| Depends: | R (≥ 3.0.2) | 
| Imports: | Rcpp, nloptr (≥ 1.2.0) | 
| LinkingTo: | Rcpp, nloptr (≥ 1.2.0) | 
| Published: | 2025-03-09 | 
| DOI: | 10.32614/CRAN.package.RcppNLoptExample | 
| Author: | Dirk Eddelbuettel | 
| Maintainer: | Dirk Eddelbuettel <edd at debian.org> | 
| BugReports: | https://github.com/eddelbuettel/rcppnloptexample/issues | 
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] | 
| URL: | https://github.com/eddelbuettel/rcppnloptexample, https://dirk.eddelbuettel.com/code/rcpp.nloptexample.html | 
| NeedsCompilation: | yes | 
| Materials: | README, NEWS, ChangeLog | 
| CRAN checks: | RcppNLoptExample results | 
| Reference manual: | RcppNLoptExample.html , RcppNLoptExample.pdf | 
| Package source: | RcppNLoptExample_0.0.2.tar.gz | 
| Windows binaries: | r-devel: RcppNLoptExample_0.0.2.zip, r-release: RcppNLoptExample_0.0.2.zip, r-oldrel: RcppNLoptExample_0.0.2.zip | 
| macOS binaries: | r-release (arm64): RcppNLoptExample_0.0.2.tgz, r-oldrel (arm64): RcppNLoptExample_0.0.2.tgz, r-release (x86_64): RcppNLoptExample_0.0.2.tgz, r-oldrel (x86_64): RcppNLoptExample_0.0.2.tgz | 
| Old sources: | RcppNLoptExample archive | 
Please use the canonical form https://CRAN.R-project.org/package=RcppNLoptExample to link to this page.