I am using ubuntu version
description: ubuntu 18.04.4 LTS
Release: 18.04
"R" version: 3.4.4
I want to install "rgdal" in R.
I tried following steps
install.packages("rgdal")
Installing package into ‘/home/xxx/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified) Warning in install.packages :
** package ‘rgdal’ is not available (for R version 3.4.4)**
This is expected behavior; current CRAN version of {rgdal} depends on R 3.5.0 and as such will not install on 3.4.4 - see https://cran.r-project.org/package=rgdal
You have two options: upgrade your R version to at least 3.5.0 (note that current is 4.0.3) or download a tarball of an older version from CRAN archives (following the link above).