Skip to content

Instantly share code, notes, and snippets.

@mmore500
Last active November 15, 2023 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmore500/bd56897ead344b9cd1cb4204984fe095 to your computer and use it in GitHub Desktop.
Save mmore500/bd56897ead344b9cd1cb4204984fe095 to your computer and use it in GitHub Desktop.
gcloud R packages install
mkdir -p ~/.cloudshell/
touch ~/.cloudshell/no-apt-get-warning
sudo apt-get update -y
sudo apt-get install -y aptitude
sudo aptitude install -y libgdal-dev libproj-dev r-base
sudo Rscript -e "install.packages(c('codetools', 'dplyr', 'gen3sis', 'gdistance', 'ggplot2', 'Matrix', 'raster', 'rgdal'))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment