R packages installation problem

Hello,

I have a problem of installing a R package “splm” using the following command:

install.packages(“splm”)

I got the error below

Thank’s for your helping.

Best,

Chaonan

Dear Chaonan,

it seems the package you are trying to install requires gdal

Load it like that and then try again to install the splmpackage.

[sagon@login1 ~]$ ml GCC/8.3.0  OpenMPI/3.1.4 GDAL/3.0.2-Python-3.7.4 R/3.6.2

Thanks a lot. It works now.