Learn R Programming

usethis (version 1.5.0)

use_rcpp: Use C, C++, RcppArmadillo, or RcppEigen

Description

Creates src/, adds required packages to DESCRIPTION, optionally creates .c or .cpp files, and where needed, Makevars and Makevars.win files.

Usage

use_rcpp(name = NULL)

use_rcpp_armadillo(name = NULL)

use_rcpp_eigen(name = NULL)

use_c(name = NULL)

Arguments

name

If supplied, creates and opens src/name.{c,cpp}.