use_sf() cannot find function
gypsy-moth opened this issue · 1 comments
gypsy-moth commented
Hi, I am trying to get rgrass7 running.
I am following along the tutorial of Geocomputation with R, chapter 9.4 GRASS through rgrass7.
https://geocompr.robinlovelace.net/gis.html#rgrass
Initiating a grass session seems to work fine so far.
But when I try to run use_sf(), I get a message stating this function cannot be found.
I'm running Microsoft R Open 3.5.3 on Windows 10.
I am grateful for any help.
rsbivand commented
Do search issues for your problem first, and review posts on https://lists.osgeo.org/mailman/listinfo/grass-stats google-search lists:grass-stats use_sf. Put use_sp()
at the top of your script if only using raster objects; sf can be used for vector objects by use_sf()
.