[R-pkg-devel] Closing a display window from a program

2024-11-13 Thread J C Nash
Hi, I'm trying to prepare a package to manage some diverse data. It is extremely convenient to display a PDF derived from the data so the user can verify information that the R script is going to process (even nicer if on a 2 monitor system). I've 2 issues: 1) I can display the pdf either with f

Re: [R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.

2024-11-13 Thread Luc De Wilde
Dear Ivan, Unfortunately the error did not go away, after the correction (delete[] where needed) still error free execution in R console but abort of the R process in Rstudio. The debugger of RStudio did not give any useful information anymore. I then installed Drmingw and attached the R proc

Re: [R-pkg-devel] CRAN build error on Windows

2024-11-13 Thread Pepijn de Vries
> On 12.11.2024 20:25, Dirk Eddelbuettel wrote: > > > > On 12 November 2024 at 10:47, Dirk Eddelbuettel wrote: > > | > > | On 12 November 2024 at 12:40, Pepijn de Vries wrote: > > | | "Cannot create temporary file in D:\temp\2024_11_12_ 1_50_00_12637\: No > > such file or directory" > > | > > | Ba

Re: [R-pkg-devel] CRAN build error on Windows

2024-11-13 Thread Uwe Ligges
On 12.11.2024 20:25, Dirk Eddelbuettel wrote: On 12 November 2024 at 10:47, Dirk Eddelbuettel wrote: | | On 12 November 2024 at 12:40, Pepijn de Vries wrote: | | "Cannot create temporary file in D:\temp\2024_11_12_ 1_50_00_12637\: No such file or directory" | | Based on your quote and the log

Re: [R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.

2024-11-13 Thread Luc De Wilde
Thanks to your instructions I have found the probable reason of the crash: char* items allocated with "new char[...]" were deleted with 'delete' and not with 'delete[]' in one of the destructors. I will recheck my code and retry all tests. For your information: Visual Studio debugger works with