Re: [Rd] about RGui HighDPI awareness on windows

2023-01-21 Thread yu gong
Continually working on this, System DPI awareness implemented improved and almost finished. Now the modify includes: Window, Dialogs and Toolbar implemented use graphapp. which related to Multiple places in the R windows front end and R base package and modules. Now most of them modified to DP

Re: [Rd] Object are not destroy while using error (Rf_error)

2023-01-21 Thread Dirk Eddelbuettel
Antoine, I think there are few things going on here. One is that actual _R_ objects may only get destroyed when gc() gets called. Which we applications writer do not control. Another thing that may have an effect is the use of .C() which we all more or less moved away from. Anyway, if we mak

[Rd] Object are not destroy while using error (Rf_error)

2023-01-21 Thread Antoine Lucas
Dear all, I try to understand why on my computer I do not clear all data with this code: #include static int count = 0; class A { public: A(){ printf("c %d\n", count); count++; } ~A(){count--; printf("d %d\n", count); } }; extern "C" { void testAL(){ A a; { A b