Created
February 3, 2023 17:24
-
-
Save aferral/afc48bd3c5ed3613d3861db41fbabc87 to your computer and use it in GitHub Desktop.
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
# NOTAS USO: | |
# build | |
# docker build -t spat_index_r . | |
# run (abrir entorno docker en modo interactivo) | |
# se asume que Datos_Andres esta en la carpeta actual y tiene los scripts a ejecutar | |
# docker run -it -v $(pwd)/Datos_Andres:/Datos_Andres --rm spat_index_r bash | |
# run script | |
# Rscript Datos_Andres/Calculo_SPI_diario.R | |
FROM rocker/geospatial | |
RUN Rscript -e "install.packages('terra')" && Rscript -e "install.packages('remotes')" && Rscript -e "devtools::install_github('spatstat/spatstat.core')" && Rscript -e "remotes::install_github('obaezvil/SpatIndex')" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment