Re: [R-pkg-devel] RFC: an interface to manage use of parallelism in packages

2023-10-25 Thread Reed A. Cartwright
Hi Ivan, Interesting package, and I'll provide more feedback later. For a comparison, I'd recommend looking at how GNU make does parallel processing. It uses the concept of job server and job slots. What I like about it is that it is implemented at the OS level because make needs to support intera

Re: [R-pkg-devel] "crossprod" is not a BUILTIN function

2023-10-25 Thread Ivan Krylov
В Wed, 25 Oct 2023 21:02:00 +0200 Plamen Mirazchiyski пишет: > Today I was preparing a new version for the RALSA package. I have > built a Windows package using "devtools::check_win_devel()". > The machine has R 4.3.1, the latest official release. After I load the > test RALSA package, R display

Re: [R-pkg-devel] "crossprod" is not a BUILTIN function

2023-10-25 Thread Duncan Murdoch
The sources show that crossprod has become a primitive function. I don't think this should affect any R code that calls crossprod(); are you trying to call .Internal(crossprod( ... )) directly? This was in the news a few weeks ago: "The matrix multiplication functions ‘crossprod()’ and ‘tcross

[R-pkg-devel] "crossprod" is not a BUILTIN function

2023-10-25 Thread Plamen Mirazchiyski
Dear All, Today I was preparing a new version for the RALSA package. I have built a Windows package using "devtools::check_win_devel()". I took the built Windows package and tested it on a Windows 10 machine to see if everything works as intended before submitting the source to CRAN. The mach

[R-pkg-devel] RFC: an interface to manage use of parallelism in packages

2023-10-25 Thread Ivan Krylov
Summary: at the end of this message is a link to an R package implementing an interface for managing the use of execution units in R packages. As a package maintainer, would you agree to use something like this? Does it look sufficiently reasonable to become a part of R? Read on for why I made thes

Re: [R-pkg-devel] Too many cores used in examples (not caused by data.table)

2023-10-25 Thread Helske, Jouni
Thanks, I tried with OMP_NUM_THREADS=2 but unfortunately got the same NOTE as before. Best, Jouni From: Dirk Eddelbuettel Sent: Wednesday, October 25, 2023 13:27 To: Dirk Eddelbuettel ; Helske, Jouni Cc: Ivan Krylov ; r-package-devel@r-project.org Subject: Re

Re: [R-pkg-devel] Too many cores used in examples (not caused by data.table)

2023-10-25 Thread Dirk Eddelbuettel
On 24 October 2023 at 08:15, Dirk Eddelbuettel wrote: | | On 24 October 2023 at 15:55, Ivan Krylov wrote: | | В Tue, 24 Oct 2023 10:37:48 + | | "Helske, Jouni" пишет: | | | | > Examples with CPU time > 2.5 times elapsed time | | > user system elapsed ratio | | > exchange 1.196