0

I am on the lookout for a function in R to check if an HTML file was incompletely downloaded, i.e. to read just the last few lines of a given set of files and check if they end with "</html>". What would be the best way to check for this? Related question is how to avoid if one uses download.file that an incompletely downloaded file would be left after interrupting a script?

Tom Wenseleers
  • 7,535
  • 7
  • 63
  • 103

0 Answers0