rmarkdown

Passing expressions and data from R to C++ before compile-time in Rmarkdown

Introduction In this post we give a simple illustrative example of how data generated by R code can be used by compiled languages such as C++ at compile time, instead of run-time, inside Rmarkdown.