Quantcast
Channel: how to run plot of R into C/C++? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

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

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...

View Article



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

You can run R using the system() call as you have, but you can't stick R functions on the command line like that.What you can do is to write the R code to a file and call it with system("R CMD BATCH...

View Article

how to run plot of R into C/C++?

How do I execute a R command in C, without using R extensions, something like:int main() { system("R g<- graph(c(0,1,0,4,0,9,1,7,1,9,2,9,2,3,2,5,3,6,3,9,4,5,4,8,5,8,6,7,6,8,7,8),n=10,dir=FALSE)...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images