I'm having a hard time loading a local HTML file. I tried with xml2 and it gives an empty file. With htmltools and its function includeHTML I get an error message.
library(htmltools)
rawHTML<-includeHTML("C:/Users/grouetl/Documents/ProjetsLISE/Camille/Corpusgetz.html")
I get this error message :
Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In file(con, "r") :
cannot open file 'C:/Users/grouetl/Documents/ProjetsLISE/Camille/Corpusgetz.html': No such file or directory
I tried various version of relative path (after having set the wd) but I always get the same result.. Thank you for any advice
c://
or `c:\` and so on...