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
Post a Comment