R is a free, open-source programming language created as an environment for statistical computing and visualization. The advantages of using R include its flexibility, ease of collaboration, and focus on reproducibility. Additionally, the concept of packages - collections of R functions, data, and compiled code created by users - allowed for the growth of its capabilities and expansion into many scientific fields. In recent years, R also has become one of the most often used tools in ecology. R also has a long history of supporting spatial data analysis, including spatial data downloading, preprocessing, visualizing, and modeling. Recently, however, some new packages have appeared which have significantly changed the work with spatial data in R; in particular, the sf package. The workshop will be divided into two parts. The first one will introduce participants to the spatial data analysis system in R. The focus will be on getting started, with demonstrations of key packages, spatial analysis, and making maps. The second part of the workshop will focus on how to use the landscapemetrics package.