Quantcast
Channel: how to run plot of R into C/C++? - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Paul Hiemstra for how to run plot of R into C/C++?

$
0
0

An alternative for R CMD BATCH is Rscript. I think for problems where C++ and R are not tightly integrated, i.e. there are distinct phases where R and C++ are used, nor large volumes or frequency of data exchange, using system calls can be very simple and robust.

An alternative is to run R and C++ alongside each other and exchange info between them. This can be done using the RInside pacakge, which is available on CRAN.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>