Guest User

Untitled

a guest
Aug 15th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. Is it possible to launch multiple EC2 instances within R?
  2. library("multicore")
  3. library("iterators")
  4. library("foreach")
  5. library("doMC")
  6.  
  7. registerDoMC(16)
  8.  
  9. foreach(i in 1:M) %dopar% {
  10. ##do stuff
  11. }
Add Comment
Please, Sign In to add comment