Re: [R] Plotting C++ output in R

2009-04-16 Thread Warren Young
andrew@lshtm.ac.uk wrote: I want to be able to continuously plot the output from the model in R each time a new run generates data. From the C++ program, run the R script that plots the data. Something like this: system("Rscript myplotter.R"); That assumes Rscript is in the PA

[R] Plotting C++ output in R

2009-04-16 Thread Andrew.Cox
Hi, Using R 2.8.0 on Windows, I have a mathematical model written in C++, the model writes to file (.txt) a set of numbers I want to plot in R. The model iterates over about 10,000 runs, each time overwriting the old with the new set of results to the output file. I want to be able to continu