I use a C++ program, but I also R to prepare its inputs as well as to process its outputs (specifically formatted text files). It would be nice to call the Cpp program from within R, so the whole routine would be done in a single go. If I had a single function written in C++, I would learn how to use Rcpp package... but how to include a call to a compiled C++ program into an R script?
I would be grateful for any advice! All the best,
Ondrej