I have a C# program that generates some R code. Right now I save the script to file and then copy/paste it into the R console. I know there is a COM interface to R, but it d
To do this in C# you'll need to use
C#
shell (R CMD BATCH myRprogram.R)
Be sure to wrap your plots like this
pdf(file="myoutput.pdf") plot (x,y) dev.off()
or image wrappers