Re: [Rd] R API for C/C++ initialisation issue appears with update to R.3.5

2018-07-13 Thread Andéol Evain
Thanks you very much ! I cleaned up all the Qt dependencies to simplify reproducibility, but when I moved the call to Rf_endEmbedded to the destructor of class RManager instead of right after the callbacks settings, the issue disappeared. It still seems a bit weird that this placement of Rf_endEmb

Re: [Rd] R API for C/C++ initialisation issue appears with update to R.3.5

2018-07-12 Thread luke-tierney
You might have more luck getting help with a completely self-contained example (no QT in particular) and a complete description of how you built and ran your example. That said, the placement of the call to Rf_endEmbedded looks a little odd. Best, luke On Thu, 12 Jul 2018, Andéol Evain wrote:

[Rd] R API for C/C++ initialisation issue appears with update to R.3.5

2018-07-12 Thread Andéol Evain
Hello everyone, I have a C++ program that calls R using R_tryEval, very similarly to what package RInside does. It used to work with R.3.4.3 and R.3.4.4. However, since I updated it to R.3.5.1, R sends an error message: "*Error in < My command > : the base graphics system is not registered*" for