Skip to content

inSilecoInc/workshop_raster

Repository files navigation

🎓 Rasters with R

deploy workshop

See https://insilecoinc.github.io/workshop_raster/

Installation

Packages

The following R packages are required :

sf might be trickier to install, check out the README for guidelines to install it. Also, on for Ubuntu users, there is a comprehensive blog post for installing spatial packages.

Local environment

Once installed, you can set your local environment, the following commands may prove helpful:

  • getwd() to get the working directory
  • setwd() to set the working directory
  • dir.create() to create a directory
  • list.files() to liste files in a directory

also the following code can be used to download data and unzip them

download.file("https://github.com/inSilecoInc/workshop_raster/raw/main/data_and_script.zip", destfile = "tmp.zip")
unzip("tmp.zip")
unlink("tmp.zip") # remove temporary file