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

2023-02-05 Thread Dominick Samperi
Thanks Simon, Source code is include this time... For now RInside::repl() works fine under Windows provided there is no mouse feedback, and starting the main app using WIN32 GUI framework is not trivial. A simple work-around is to implement RInside::repl() as system("Rterm"), which is what happe

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

2023-02-04 Thread Simon Urbanek
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).

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

2023-02-03 Thread Dirk Eddelbuettel
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 n

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

2023-02-03 Thread Dominick Samperi
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 Windo