@Tome: Try to install Rgal using
install.packages(“rgdal”,repos=“http://R-Forge.R-project.org”)
Unable to run the code currently in R as it doesnt support the package rgdal.
Unable to run the code currently in R as it doesnt support the package rgdal.