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 May 29, 2024, 10:56 a.m.