I have written an R script which includes a loop that retrieves external (web) data. The format of the data are most of the time the same, however sometimes the format chang
How about these solutions on this related question :
Is there a way to `source()` and continue after an error?
Either parse(file = "script.R") followed by a loop'd try(eval()) on each expression in the result.
parse(file = "script.R")
try(eval())
Or the evaluate package.
evaluate