I wrote a Windows application in c++, i want to do data analysis in R but output the graphic to the window of my application, so i call a R routine within my application and i can send the handle of the window to R routine, but i do not know how to set the window as device of R's graphics.
the dev {grDevices} functions provide control over multiple graphics devices, but i think dev.set() or windows() did not work at this situation, what should i do ?
Thanks!