Functions to Inline C, C++, Fortran Function Calls from R

Functionality to dynamically define R functions and S4 methods with inlined C, C++ or Fortran code supporting .C and .Call calling conventions.

The inline package provides functionality to dynamically define R functions (and corresponding S4 objects) from in-line C, C++ or Fortran code. It supports both the .C and .Call calling conventions.

The package was originally written while Oleg Sklyar was at EMBL-EBI. It was later extended by Dirk Eddelbuettel and Romain Francois extended for use by Rcpp.

Oleg Sklyar, Dirk Eddelbuettel, Romain Francois

LGPL (>= 2)


Reference manual

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


0.3.14 by Dirk Eddelbuettel, 2 years ago

Report a bug at

Browse source code at

Authors: Oleg Sklyar, Duncan Murdoch, Mike Smith, Dirk Eddelbuettel, Romain Francois, Karline Soetaert

Documentation:   PDF Manual  

Task views: High-Performance and Parallel Computing with R

LGPL license

Depends on methods

Suggests Rcpp

Imported by Bchron, rstan.

Depended on by BMA, cxxfunplus, imprProbEst, mkin.

Suggested by MfUSampler, Rclusterpp, Rcpp, RcppClassic, RcppDE, RcppEigen, RcppGSL, Rmalschains, covafillr, dlib, hyperSpec, kergp, miceadds.

See at CRAN