inst/examples/Attributes/sourceCpp.R

library(Rcpp)

sourceCpp("Export.cpp")
fibonacci(5)


sourceCpp("Depends.cpp")
fastLm(c(1,2,3), matrix(3,3))

Try the Rcpp package in your browser

Any scripts or data that you put into this service are public.

Rcpp documentation built on July 9, 2023, 7:26 p.m.