Package Installation

ich möchte folgendes Beispiel ausführen:
wfs_regions <- ""
url <- parse_url(wfs_regions)
url$query <- list(service = "wfs",
version = "2.0.0",
request = "GetFeature",
typename = "regions",
srsName = "EPSG:25832",
outputFormat = "GEOJSON")
request <- build_url(url)
ALKIS_1<- read_sf(request)

Ich bekomme allerdings immer folgende Fehlermeldung:

Installing package into ‘C:/Users/mueck/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
versuche URL ''
Content type 'application/zip' length 515846 bytes (503 KB)
downloaded 503 KB

package ‘httr’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in

url <- parse_url(wfs_regions)
Fehler in parse_url(wfs_regions) :
konnte Funktion "parse_url" nicht finden

Obwohl ich das richtige Package installiert habe funktioniert es nicht.
Hat jemand einen Lösungsvorschlag. Ich bin leider Anfänger in Thema R/RStudio.
Grüße, RL

Besides installing the package (once) you have to load it (on each new R session). Packages are loaded with the library() command.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.