Blog Archives

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)