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

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

$
0
0

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)    plot(g)")    return(0)}

Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images