Skip to content

Instantly share code, notes, and snippets.

@adamhsparks
Created August 24, 2018 22:53
Show Gist options
  • Select an option

  • Save adamhsparks/b174c778f2f3dd6f98848d28826de901 to your computer and use it in GitHub Desktop.

Select an option

Save adamhsparks/b174c778f2f3dd6f98848d28826de901 to your computer and use it in GitHub Desktop.
Save all output from long running R operation in .rda file
save_all <- function() {
save.image("recover.rda")
}
options(error = save_all)
@adamhsparks

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment