I'm trying to scrape the content from http://google.com. the error message come out.
library(rvest)
html("http://google.com")
Error in open.connection(x, "rb") :
Timeout was reached In addition:
Warning message: 'html' is deprecated.
Use 'read_html' instead.
See help("Deprecated")
since I'm using company network ,this maybe caused by firewall or proxy. I try to use set_config ,but not working .
read_html
command, since the error message sayshtml
is deprecated... This might not solve you problem but maybe the output is more helpful... – Botsford