1

I am sourcing a script in R, and modifying errors as they arise but I'd like to continue sourcing at the point where source() found the error so I don't have to source from the beginning.

  • 1
    does this help? https://stackoverflow.com/questions/33642553/how-to-use-options-error-recover-in-rscript – rawr Nov 18 '21 at 21:04
  • unfortunately I tried this and it didn't work. I am looking for a function or option that preserves the objects and variables created from the sourced file prior to it finding an error. – Paulina Paiz Nov 28 '21 at 02:19

0 Answers0