Load an HTML page from local with getURL in R -


i'm trying load html page local directory geturl:

library(rcurl) my_page<-geturl("my_page.html") 

but get

error in function (type, msg, aserror = true)  :    not resolve host: my_page.html 

how can describe right path ?

try

my_page<-geturl(paste0("file:///", getwd(), "/my_page.html")) 

Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -