use_rcpp {usethis}R Documentation

Use C, C++, RcppArmadillo, or RcppEigen

Description

Adds infrastructure commonly needed when using compiled code:

Usage

use_rcpp(name = NULL)

use_rcpp_armadillo(name = NULL)

use_rcpp_eigen(name = NULL)

use_c(name = NULL)

Arguments

name

Either a string giving a file name (without directory) or NULL to take the name from the currently open file in RStudio.


[Package usethis version 2.2.3 Index]