Last active
March 29, 2018 13:04
-
-
Save hpgsantos/469811911f504f70d28f6d38626ceb14 to your computer and use it in GitHub Desktop.
r_packages_install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(!require(XML)) install.packages('XML') | |
if(!require(data.table)) install.packages('data.table') | |
if(!require(geosphere)) install.packages('geosphere') | |
if(!require(rgdal)) install.packages("https://cran.r-project.org/src/contrib/Archive/rgdal/rgdal_1.2-5.tar.gz",repos=NULL, method="libcurl") | |
if(!require(rgeos)) install.packages("https://cran.r-project.org/src/contrib/Archive/rgeos/rgeos_0.3-23.tar.gz",repos=NULL, method="libcurl") | |
if(!require(gdalUtils)) install.packages('gdalUtils') | |
##system("sudo apt-get update --fix-missing && sudo apt-get install -y libgdal-dev libproj-dev") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment