Skip to content

Instantly share code, notes, and snippets.

@verajosemanuel
Created July 6, 2021 10:58
Show Gist options
  • Save verajosemanuel/3057941240a519007e9f5d186bf31908 to your computer and use it in GitHub Desktop.
Save verajosemanuel/3057941240a519007e9f5d186bf31908 to your computer and use it in GitHub Desktop.
solve #connection #error using #multicore #parallell in #R
unregister_dopar <- function() {
env <- foreach:::.foreachGlobals
rm(list=ls(name=env), pos=env)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment