To make the functions available from the package we've just installed, use the library function, as follows:
library(sf)
## Linking to GEOS 3.5.1, GDAL 2.2.2, proj.4 4.9.2
Now we can use the new powers enabled by this package, like reading in a shapefile:
stns = st_read("~/ITSLeeds/SSPA/data/stations UK/station_point.shp")
## Reading layer `station_point' from data source `/home/robin/ITSLeeds/SSPA/data/stations UK/station_point.shp' using driver `ESRI Shapefile'
## Simple feature collection with 2525 features and 3 fields
## geometry type: POINT
## dimension: XY
## bbox: xmin: 147601 ymin: 30610.99 xmax: 654743 ymax: 967898.9
## epsg (SRID): NA
## proj4string: +proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 +a=6377563 +b=6356256.161 +units=m +no_defs