Re: [Rcpp-devel] Rcpp_precious_remove again (Windows)

2023-01-20 Thread Dirk Eddelbuettel
On 20 January 2023 at 19:11, Dominick Samperi wrote: | You are right Dirk, RInside overrides what is specified because the function | myAskYesNo doesn't actually ask, so this explains why there is to | termination | prompt under Windows. This does not change what happens under Linux | because this

Re: [Rcpp-devel] Rcpp_precious_remove again (Windows)

2023-01-20 Thread Dominick Samperi
You are right Dirk, RInside overrides what is specified because the function myAskYesNo doesn't actually ask, so this explains why there is to termination prompt under Windows. This does not change what happens under Linux because this function is assigned to a Windows-specific callback. Under Linu

Re: [Rcpp-devel] Rcpp_precious_remove again (Windows)

2023-01-20 Thread Dominick Samperi
As I said, everything is fine using R-devel, so R_LIBS just took care of a local configuration issue for Tomas. The problem was reported for R-4.2.2, and I don't think setting R_LIBS will make any difference. On the interactive=false issue, the same source code is used for both Linux and Windows,

Re: [Rcpp-devel] Rcpp_precious_remove again (Windows)

2023-01-20 Thread Dirk Eddelbuettel
On 20 January 2023 at 10:28, Tomas Kalibera wrote: | Executing then without R_LIBS set gave this error: | | " | Error: function 'Rcpp_precious_remove' not provided by package 'Rcpp' | In addition: Warning message: | In library(package, lib.loc = lib.loc, character.only = TRUE, | logical.return =

Re: [Rcpp-devel] Rcpp_precious_remove again (Windows)

2023-01-20 Thread Dominick Samperi
Thanks Tomas, After fixing the library issue and getting the app running what happens when you terminate with q()? You should see the usual "Save workspace image? [y/n/c]:", and under Linux this is what happens. In my testing with the latest R source under Windows this doesn't happen, but I have