Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

12 results for “from:Luc De Wilde”

[R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.
Luc De Wilde · Nov 14, 2024 · r-package-devel

After some corrections (initialization of pointer vars in some structs/classes) I still get the problem in Rstudio, aborting the R process. This is the dump in Dr.Mingw: rsession-utf8.exe caused an Unknown [0xC0000374] Exception at location 00007FF96FD68215...

[R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.
Luc De Wilde · Nov 12, 2024 · r-package-devel

Dear R package developers, I'm helping with the development of the lavaan package (see https://lavaan.ugent.be/) and currently writing a C++ version of the parser of the model syntax in lavaan. The package with C++ code is...

[R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.
Luc De Wilde · Nov 14, 2024 · r-package-devel

At last, with checking of the program with address sanitizer in Visual Studio, I found an "off by 1 error" in my code. Now all tests pass without problems in Rstudio. Thank you very much, Ivan, for helping me with...

[R-pkg-devel] Cannot create C code with acceptable performance with respect to internal R command.
Luc De Wilde · Dec 5, 2024 · r-package-devel

Dear package developers, in creating a package lavaanC for use in lavaan, I need to perform some matrix computations involving matrix products and crossproducts. As far as I see I cannot directly call the C code in the R core...

[R-pkg-devel] Cannot create C code with acceptable performance with respect to internal R command.
Luc De Wilde · Dec 5, 2024 · r-package-devel

Thank you very much, Tomas, now it's clear and I'll see what to do with that knowledge! Luc ________________________________________ Van: Tomas Kalibera <tomas.kalibera at gmail.com> Verzonden: donderdag 5 december 2024 14:39 Aan: Luc De Wilde <Luc...

[R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.
Luc De Wilde · Nov 13, 2024 · r-package-devel

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...

[R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.
Luc De Wilde · Nov 12, 2024 · r-package-devel

Dear Ivan, Thank you for your reply! The error occurs on my local machine(s), where the dll is always reproduced by the "install package". I have attached a debugger (from Visual Studio) to the R process, which gives me...

[R-pkg-devel] Cannot create C code with acceptable performance with respect to internal R command.
Luc De Wilde · Dec 6, 2024 · r-package-devel

Thanks to all help, I finally got two (!) solutions for my problem :? Unit: milliseconds expr min lq mean median uq max neval m1 %*% m2 11.2685 11.48595 11.83029 11.60745 11.83170 17.2381 200 .Call("prod0", m1...

[R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.
Luc De Wilde · Nov 13, 2024 · r-package-devel

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...

[R-pkg-devel] Cannot create C code with acceptable performance with respect to internal R command.
Luc De Wilde · Dec 5, 2024 · r-package-devel

Dirk, that's indeed an easy way to go, but I'm searching for methods that doesn't need to add other dependencies in my package, so the answer of Avraham is the most relevant for me. But off course...

[R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.
Luc De Wilde · Nov 12, 2024 · r-package-devel

Dear Vladimir, thank you for your reply. The model syntax is not simple though and the parser needs to look at the meaning in SEM terms to accept or reject certain things. Moreover, this is only a first step and...

[R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.
Luc De Wilde · Nov 15, 2024 · r-package-devel

The 'parser' in lavaanC was written in two parts: * a part in pure C/C++ without the R interface things like SEXP, etc. ; taking as input a string (the model) and a bool (produce debuginfo yes/no) , and returning a...

Can't find what you're looking for? Try searching with Google .