This is what I did:
library(rvest)
list[[i]] <- read_html(link)
save(list, path = "path.Rdata")
Then I closed and reopened the environment.
load("path.Rdata")
list[[i]]
`Error in doc_type(x) : external pointer is not valid`
Can anyone explain the problem here? How can I solve it?
Saving tens of thousands of HTMLs took almost a day from me. I prefer a solution that uses the current local files.
I actually don’t know what to do now!