Dominick, again, it's hard to give you advice when you don't post the code, but note that for graphical Windows applications you may need to implement WinMain and make sure you setup the Windows event loop (which is separate from R's event loop) before you use RInside (see Win32 documentation). You may want to to have a look at src/gnuwin32/front-ends in R.
Cheers, Simon > On Feb 4, 2023, at 2:02 PM, Dominick Samperi <djsamp...@gmail.com> wrote: > > I'm sorry to say that the RInline::repl() issues are not resolved, and to > resolve them would likely require help from R core. > > Here's the test case: > library(sphereplot) > rgl.sphgrid(longtype="D") > > Under Linux there is no problem, a sphere is drawn, and you can > rotate with mouse motions. > > Under Windows using R, no problem. > > But under Windows in RInline::repl() when you click on the image it > freezes up. > > Apparently some kind of graphics > initialization is required, and perhaps callbacks as well to > handle mouse events. Just calling run_Rmainloop() is not > enough. > _______________________________________________ > Rcpp-devel mailing list > Rcpp-devel@lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel