Use with-parameters generator for target_cpp
Tidied up the examples, now including embedded R code