Rvest Function error (type, msg, asError = TRUE): Failed to resolve host: google.com; Host not found
I am trying to use the rvest package (downloaded from CRAN) to clear certain content from the site, but I got the error:
library(rvest)
html("http://google.com")
Here's the result:
Function error (type, msg, asError = TRUE): Could not resolve host: google.com; Host not found
I tried Sys.setenv (http_proxy = "webproxy: port") or installed files. / Renviron and a few other tricks I found on stackoverflow but none seem to work.
+3
source to share
No one has answered this question yet
Check out similar questions: