Publications by JottR on R
R.devices – Into the Void
R.devices 2.16.0 – Unified Handling of Graphics Devices – is on CRAN. With this release, you can now easily suppress unwanted graphics, e.g. graphics produced by one of those do-everything-in-one-call functions that we all bump into once in a while. To suppress graphics, the R.devices package provides graphics device nulldev(), and function...
3004 sym R (735 sym/2 pcs) 2 img
future 1.9.0 – Output from The Future
future 1.9.0 – Unified Parallel and Distributed Processing in R for Everyone – is on CRAN. This is a milestone release: Standard output is now relayed from futures back to the master R session – regardless of where the futures are processed! Disclaimer: A future’s output is relayed only after it is resolved and when its value is retrieve...
7607 sym R (2123 sym/10 pcs) 2 img
Maintenance Updates of Future Backends and doFuture
New versions of the following future backends are available on CRAN: future.callr – parallelization via callr, i.e. on the local machine future.batchtools – parallelization via batchtools, i.e. on a compute cluster with job schedulers (SLURM, SGE, Torque/PBS, etc.) but also on the local machine future.BatchJobs – (maintained for legacy rea...
4213 sym R (384 sym/4 pcs) 2 img
Parallelize a For-Loop by Rewriting it as an Lapply Call
A commonly asked question in the R community is: How can I parallelize the following for-loop? The answer almost always involves rewriting the for (...) { ... } loop into something that looks like a y <- lapply(...) call. If you can achieve that, you can parallelize it via for instance y <- future.apply::future_lapply(...) or y <- foreach::for...
9744 sym R (2424 sym/19 pcs) 2 img
SatRday Paris 2019 Slides on Futures
Below are links to my slides from my talk on Future: Friendly Parallel Processing in R for Everyone that I presented last month at the satRday Paris 2019 conference in Paris, France (February 23, 2019). My talk (32 slides; ~40 minutes): Title: Future: Friendly Parallel Processing in R for Everyone HTML (incremental slides; requires online access...
1351 sym 2 img
SatRday LA 2019 Slides on Futures
A bit late but here are my slides on Future: Friendly Parallel Processing in R for Everyone that I presented at the satRday LA 2019 conference in Los Angeles, CA, USA on April 6, 2019. My talk (33 slides; ~45 minutes): Title: : Friendly Parallel and Distributed Processing in R for Everyone HTML (incremental slides; requires online access) PDF (f...
1453 sym 2 img
startup – run R startup files once per hour, day, week, …
New release: startup 0.12.0 is now on CRAN. This version introduces support for processing some of the R startup files with a certain frequency, e.g. once per day, once per week, or once per month. See below for two examples. startup::startup() is cross platform. The startup package makes it easy to split up a long, complicated .Rprofile start...
3079 sym R (375 sym/5 pcs) 2 img
useR! 2019 Slides on Futures
Below are the slides for my Future: Simple Parallel and Distributed Processing in R that I presented at the useR! 2019 conference in Toulouse, France on July 9-12, 2019. My talk (25 slides; ~15+3 minutes): Title: Future: Simple Parallel and Distributed Processing in R HTML (incremental Google Slides; requires online access) PDF (flat slides) I ...
1304 sym 2 img
future 1.15.0 – Lazy Futures are Now Launched if Queried
No dogs were harmed while making this release future 1.15.0 is now on CRAN, accompanied by a recent, related update of future.callr 0.5.0. The main update is a change to the Future API: resolved() will now also launch lazy futures Although this change does not look much to the world, I’d like to think of this as part of a young person slowly...
4081 sym R (157 sym/3 pcs) 2 img