Thank you very much for investigating this. There is something else I have noticed that may support your theory on R's GUI output device being handled differently from .Net.
I tried to scale back my attempt and reproduce the sequence suggested by aoldevstat in Issue#7 using the Cairo library to create png. Using his plot instructions and CairoPNG method to control the output device, I was able to generate the png and load into the form as expected.
However, when I tried to swap out his plotting instructions with mine (using ggplot but generating png with CairoPNG method) it created a blank png file. No errors reported, and the png is loaded into the form, just no content. When using the CairoPNG method from R console to output a ggplot it creates the file with content as expected.
I wonder if anyone has had success outputting graphs with the more advanced packages (ggplot, gobi, lattice)...
Thanks again for your reply.
I tried to scale back my attempt and reproduce the sequence suggested by aoldevstat in Issue#7 using the Cairo library to create png. Using his plot instructions and CairoPNG method to control the output device, I was able to generate the png and load into the form as expected.
However, when I tried to swap out his plotting instructions with mine (using ggplot but generating png with CairoPNG method) it created a blank png file. No errors reported, and the png is loaded into the form, just no content. When using the CairoPNG method from R console to output a ggplot it creates the file with content as expected.
I wonder if anyone has had success outputting graphs with the more advanced packages (ggplot, gobi, lattice)...
Thanks again for your reply.