'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.


Simple NLopt Usage Example for Rcpp

About

Starting with its 1.2.0 release, the nloptr package by Jelmer Ypma now exports its C symbols in a way that makes it accessible to other R packages without linking easing the installation across operating systems.

This package illustrates this with an example drawn from the NLopt tutorial.

See Also

This repo builds on, extends, and simplifies an earlier repo by Julien Chiquet to which I contributed a core part of this setup.

Author

Dirk Eddelbuettel

License

GPL (>= 2)

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("RcppNLoptExample")

0.0.1 by Dirk Eddelbuettel, 2 months ago


Browse source code at https://github.com/cran/RcppNLoptExample


Authors: Dirk Eddelbuettel


Documentation:   PDF Manual  


GPL (>= 2) license


Imports Rcpp, nloptr

Linking to Rcpp, nloptr


See at CRAN