Blog Archives

future.apply – Parallelize Any Base R Apply Function

June 22, 2018
By
future.apply – Parallelize Any Base R Apply Function

Got compute? future.apply 1.0.0 - Apply Function to Elements in Parallel using Futures - is on CRAN. With this milestone release, all* base R apply functions now have corresponding futurized implementations. This makes it easier than ever before to parallelize your existing apply(), lapply(), mapply(), … code - just prepend future_ to an apply call that takes a...

Read more »

Delayed Future(Slides from eRum 2018)

June 17, 2018
By
Delayed Future(Slides from eRum 2018)

As promised - though a bit delayed - below are links to my slides and the video of my talk on Future: Parallel & Distributed Processing in R for Everyone that I presented last month at the eRum 2018 conference in Budapest, Hungary (May 14-16, 2...

Read more »

future 1.8.0: Preparing for a Shiny Future

April 11, 2018
By
future 1.8.0: Preparing for a Shiny Future

future 1.8.0 is available on CRAN. This release lays the foundation for being able to capture outputs from futures, perform automated timing and memory benchmarking (profiling) on futures, and more. These features are not yet available out of the b...

Read more »

Performance: Avoid Coercing Indices To Doubles

April 1, 2018
By
Performance: Avoid Coercing Indices To Doubles

x or x? That is the question. Assume that we have a vector $x$ of $n = 100,000$ random values, e.g. __ n x idxs y y typeof(idxs) "integer" __ typeof(idxs + 1) "double" __ typeof(1) "double" Note also that doubles (aka “numerics” in R) take up twice the amount of memory: __ object.size(idxs) 400040 bytes __...

Read more »

Startup with Secrets – A Poor Man’s Approach

March 29, 2018
By
Startup with Secrets – A Poor Man’s Approach

New release: startup 0.10.0 is now on CRAN. If your R startup files (.Renviron and .Rprofile) get long and windy, or if you want to make parts of them public and other parts private, then you can use the startup package to split them up in separate files and directories under .Renviron.d/ and .Rprofile.d/. For instance, the .Rprofile.d/repos.R file...

Read more »

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)