Writes data to a temporary geospatial file and opens it in QGIS.
view_qgis(data, format = c("gpkg", "geojson"), layer = NULL, app = NULL)An object of class sf.
File format, either "gpkg" (default) or "geojson".
Layer name for GeoPackage output. If NULL, inferred from the
input expression or project name. Ignored for GeoJSON output.
QGIS application name or path. If NULL, resolved from
configuration and standard macOS application directories.
data, invisibly.
This viewer is supported only on macOS. In a non-interactive session the
input is validated and returned invisibly without writing a file or opening
QGIS. Interactive files are written below ~/.misc and are not removed
automatically. QGIS can be configured with MISC_QGIS_APP or
options(misc.qgis_app = "QGIS-LTR").
Other data-viewers:
tad_view(),
view_excel(),
view_in(),
view_vd(),
view_vd_nonint()