[Rcpp-devel] RInline::repl() issues

Dominick Samperi djsamperi at gmail.com
Sat Feb 4 02:02:20 CET 2023


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20230203/e3b494c7/attachment.html>


More information about the Rcpp-devel mailing list