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
r rvest


source to share


No one has answered this question yet

Check out similar questions:

4
R in relation to host
3
Clear a website that requires a button click
2
Avoiding the "Unable to resolve host" error to stop the program in R
1
Function error (type, msg, asError = TRUE)
1
error encoding with read_html
1
Scraper with REST - table only has headers
0
Installing the Alter protocol version from github
0
RSelenium cannot open connection
0
Login to a password protected dynamic site with Rvest
0
Function error (type, msg, asError = TRUE): Could not resolve host: datamarket.accesscontrol.windows.net



All Articles
Loading...
X
Show
Funny
Dev
Pics