Articles by JottR on R

future.apply – Parallelize Any Base R Apply Function

June 22, 2018 | JottR on R

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_ ...
[Read more...]

Delayed Future(Slides from eRum 2018)

June 17, 2018 | JottR on R

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 | JottR on R

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 | JottR on R

x[idxs + 1] or x[idxs + 1L]? 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) [1] "integer" __ typeof(idxs + 1) [1] "double" __ typeof(1) [1] "double" Note also that doubles (aka “numerics” in R) take up twice the amount of ...
[Read more...]

Startup with Secrets – A Poor Man’s Approach

March 29, 2018 | JottR on R

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 .... [Read more...]

The Many-Faced Future

June 4, 2017 | JottR on R

The future package defines the Future API, which is a unified, generic, friendly API for parallel processing. The Future API follows the principle of write code once and run anywhere - the developer chooses what to parallelize and the user how and where. The nature of a future is such ... [Read more...]

Start Me Up

December 21, 2016 | JottR on R

The startup package makes it easy to control your R startup processes and to share part of your startup settings with others (e.g. as a public Git repository) while keeping secret parts to yourself. Instead of having long and windy .Renviron and .Rprofile startup files, you can split them ... [Read more...]
1 2 3

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)