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 the .C and .Call calling conventions.

Build Status

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.19 by Dirk Eddelbuettel, 5 months ago,

Report a bug at

Browse source code at

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

Documentation:   PDF Manual  

Task views: High-Performance and Parallel Computing with R

LGPL license

Imports methods

Suggests Rcpp, tinytest

Imported by KernelICA, RxODE, TiPS, WLreg, WWR, bgsmtr, causalCmprsk, coxrt, mkin, rstan, rtkore, stanette.

Depended on by BMA, cxxfunplus, slasso.

Suggested by MfUSampler, Rcpp, RcppDE, RcppEigen, Rmalschains, covafillr, dlib, hyperSpec, kergp, lolog, miceadds, nloptr, themetagenomics.

See at CRAN