Dominick,

On 3 February 2023 at 20:02, Dominick Samperi 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.

Maybe you want to talk to Duncan (CC'ed) about this, he just had a thread
about rgl and event loop issues on r-package-devel.

As earlier in this (or the preceding) thread, I am not yet _fully_ convinced
that what you are experiencing are in fact an Rcpp issue.  There is something
(a lot, actually) to be said about _minimally complete verifiable examples_.
As Rcpp maintainer, I am not sure if bringing rgl (a fine package, but also
"complicated" / "ambitious") in does still satisfy "minimally".

Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
_______________________________________________
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

Reply via email to