Open swest235 opened 10 months ago
@swest235 , it looks like rgdal is no longer in use. I have a workaround I would like for you to try. Download the lab file. In R, go to "File" and Save As somewhere on your machine before knitting. Now change out the library(rgdal) with library(sf). I have provided the new code chunk below. Make sure you have sp, sf, and geojsonio installed. Now knit and you should have a document that you can turn in. I'll walk through this method in the live section as well.
New code chunk:
library(sp)
library(sf)
library(geojsonio) # Load required libraries
@JasonSills I'm attempting to download the needed packages for lab 2 and the "rgdal" package seems to have been removed from the repository. See link: https://cran.r-project.org/web/packages/rgdal/index.html
The link above references using "sf" or "terra" instead, is that the route to go?