> install.packages("rgdal")
- installing source package ‘rgdal’ ... configure: error: gdal-config not found or not executable.
The packages libgdal-dev and libproj-dev are required:
sudo apt-get install gdal-bin proj-bin libgdal-dev libproj-dev
Yes, by now you need to use older R versions in order to use rgdal. Or use alternatives.
See here https://r-spatial.org/r/2022/04/12/evolution.html
Hello
I couldn't install RGDAL. Please help.
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages