title: rvest Error in function (type, msg, asError = TRUE) : Could not resolve host: google.com; Host not found
body: <p>I'm trying to use rvest package (downloaded from CRAN) to scrape certain contents from website but got an error:</p>
  
  <pre><code>library(rvest)    
  html("http://google.com")
  </code></pre>
  
  <p>Here's the result:</p>
  
  <p>Error in function (type, msg, asError = TRUE)  : 
    Could not resolve host: google.com; Host not found</p>
  
  <p>I tried Sys.setenv(http_proxy = "webproxy:port") or set ./Renviron files and a few other tricks I found on stackoverflow but none works.</p>