Re: [R-pkg-devel] R package development using GPU based on R package OpenCL

2022-10-11 Thread Martin Morgan
I�m not particularly experienced with this but wrote a �proof-of-concept� skeleton of a package at https://github.com/mtmorgan/ocl . The basics are * Import OpenCL in the DESCRIPTION file * Write OpenCL scripts in inst/ (dnorm implemented in OpenCL) * Use the helper function in

[R-pkg-devel] R package development using GPU based on R package OpenCL

2022-10-11 Thread Quirin Stier
Dear members, I have difficulties packing my OpenCL functions together as a complete R package. I did not find any exemplary R package building upon the R OpenCL Package. Currently I can only run the OpenCL functions as was presented by the OpenCL examples of the OpenCL package itself. So,

Re: [R-pkg-devel] Identify Original Column Names of Model Matrix

2022-10-11 Thread Ivan Krylov
On Mon, 10 Oct 2022 08:00:04 + Dario Strbenac wrote: > It requires input data to be in one-hot encoding, which is created by > Matrix::sparse.model.matrix. For further analysis, such as variable > importance, is there a way to identify which original feature each > column of a

Re: [R-pkg-devel] Issue handling datetimes: possible differences between computers

2022-10-11 Thread Martin Maechler
> Ben Bolker > on Mon, 10 Oct 2022 16:59:35 -0400 writes: > Right now as.POSIXlt.Date() is just > function (x, ...) > .Internal(Date2POSIXlt(x)) It has been quite a bit different in R-devel for a little while. NEWS entries (there are more already, and more coming on