rsbivand / rgrass

Interpreted interface between the GRASS geographical information system and R
https://rsbivand.github.io/rgrass/
26 stars 9 forks source link

use_sf() cannot find function #12

Closed gypsy-moth closed 4 years ago

gypsy-moth commented 4 years ago

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 4 years ago

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().