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 Nov. 3, 2024, 1:06 a.m.