This project is read-only.

Better way to capture plot image from R engine

Feb 22, 2016 at 1:35 PM
I am attempting to capture the image from the console window using the following:
engine.Evaluate(string.Format("dev.copy(jpeg,'{0}')", rfilename));
the file is successfully saved.

But I'd like to capture the image without having the console window appear at all.

If I set the StartupParameter Interactive to false when initializing my engine, the console window doesn't appear but I'm also not able to capture the image.

Can someone point me to a project or code snippet that may help me capture the image created by an evaluation of the engine without having the console window pop open.

current example calls :

Thank you in advance