Re: [R] Install OpenCL

2022-06-02 Thread Rasmus Liland
Dear Quirin, To be able to install OpenCL on ArchLinux, I needed to install opencl-headers first, because my system complained about CL/opencl.h ... Maybe there is something like that on Windows ... Best, Rasmus [1] https://archlinux.org/packages/extra/any/opencl-headers/

[R] Install OpenCL

2022-06-02 Thread Quirin Stier
Hi everyone, the installation of OpenCL on windows with CUDA 11.7 failed. I can set up tensorflow in python and communicate with the GPU, so I assume CUDA is set up correctly. OpenCL headers are also available through the CUDA toolkit. However, the package installation of OpenCL in R fails.

Re: [R] R_LIBS var needed to be set after upgrade to R 4.2.2

2022-06-02 Thread Ashim Kapoor
Dear Sir, Many thanks for the reply. Best, Ashim On Thu, Jun 2, 2022 at 12:56 PM Martin Maechler wrote: > > > Ashim Kapoor > > on Wed, 1 Jun 2022 14:30:58 +0530 writes: > > > Dear Sir, > >> > I upgraded to R 4.2.2 on Debian 10 today. > >> > >> Well, I assume you

Re: [R] Request for some help: Error when joining multiple csv files together

2022-06-02 Thread Rui Barradas
Hello, I'm seeing two obvious errors, those are not csv files and the columns spec is wrong, you have a spec of 6 columns but the posted data only has 4 and of different classes. If the data is in comma separated values (CSV) files the following worked without errors. library(readr)

Re: [R] R_LIBS var needed to be set after upgrade to R 4.2.2

2022-06-02 Thread Martin Maechler
> Ashim Kapoor > on Wed, 1 Jun 2022 14:30:58 +0530 writes: > Dear Sir, >> > I upgraded to R 4.2.2 on Debian 10 today. >> >> Well, I assume you mean R 4.2.0 .. at least that one exists. > My bad, yes I made a typo. I did mean R 4.2.0. >> > The R shell

[R] rbind of multiple data frames by column name, when each data frames can contain different columns

2022-06-02 Thread Stefano Sofia
Dear R-list users, for each winter season from 2000 to 2022 I have a data frame collecting for different weather stations snowpack height (Hs), snowfall in the last 24h (Hn) and a validation flag. Suppose I have these three following data frames df1 <-