Please consider adding registration to compile code cells marked with Rcpp. Right now, the only way to run them would be to render the entire document.
---
title: "Rcpp test"
format: html
engine: knitr
---
```{Rcpp}
// [[Rcpp::export]]
int hi_there() {
return 42;
}
Please consider adding registration to compile code cells marked with
Rcpp
. Right now, the only way to run them would be to render the entire document.