Installing gdal

To use gdal you need to do the following:

module purge

module load gcc/4.9.0 R/3.5.0 gdal/2.4.0 proj/5.2.0

R_install_packages rgdal

that's it!