All the data you need.
Use foreach with HPC schedulers thanks to the future package
( go to the article → https://blog.revolutionanalytics.com/2019/01/future-package.html )
The future package is a powerful and elegant cross-platform framework for orchestrating asynchronous computations in R. It's ideal for working with computations that take a long time to complete; that would benefit from using distributed, parallel frameworks to make them complete faster; and that you'd rather not have locking up your interactive R session. You can get a good sense of the future package from its introductory vignette or from this eRum 2018 presentation by author by Henrik Bengtsson (video embedded below), but at its simplest it allows constructs in R like this: a %<-% slow_calculation(1:50) b %<-% slow_calculation(51:100) a+b...
Back All Articles
advert template