Tyomik_mnemonic
Tyomik_mnemonic

Reputation: 946

how to install rgdal package

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

Upvotes: 0

Views: 2618

Answers (2)

Hammao
Hammao

Reputation: 879

in June 2024, this worked for me on a mac

install.packages("rgdal", repos="http://R-Forge.R-project.org")

Upvotes: 0

user5617654
user5617654

Reputation:

It should be sufficient to run install.packages('rgdal'). R will ask you to select a mirror where the "0-Cloud [https]" mirror should work. The package rgdal is available there. The mentioned repository http://www.stats.ox.ac.uk/pub/RWin does not provide the R package.

Upvotes: 1

Related Questions