I have been faced a problem when I tried ti install rgdal package in rstudio. Terminal caught this: Warning in install.packages :
installation of package ‘rgdal’ had non-zero exit status
I tried this: > install.packages('rgdal',repos="http://www.stats.ox.ac.uk/pub/RWin")
but terminal caught: Warning in install.packages :
package ‘rgdal’ is not available (for R version 3.5.2)
I tried to reinstal sp. No reslut. How to fix it?? OS - Elementary OS 5.0 r version - 3.5.2