R Weekly 2017-36 Reproducible Science, Traditional, Black

Highlight

R in the Real World

The Perseus Dictionary, Part II

Videos and Podcasts

R in Organizations

Resources

New Packages

📦 Go Live for More New Pkgs 📦

Package Releases

  • RcppAnnoy 0.0.9 - RcppAnnoy provides bindings for the Annoy library

  • RcppSMC 0.2.0

  • FFTrees - An R package to create and visualise fast-and-frugal decision trees (FFTs) - Rcpp-based bindings to R for the Sequential Monte Carlo Template Classes

FFTrees

Tutorials

rtimicropem: Using an *R* package as platform for harmonized cleaning of data from RTI MicroPEM air quality sensors

Tidy Time Series Analysis, Part 4: Lags and Autocorrelation

RStudio 1.1 Preview - I Only Work in Black

R Project Updates

Updates from R Core:

  • mclapply() gets an option affinity.list which allows more efficient execution with heterogenous processors, thanks to Helena Kotthaus.

  • Runing of finalizers after explicit GC request moved from the R interface do_gc to the C interface R_gc. This helps with reclaiming inaccessible connections.

  • help.search(topic) and ??topic matching topics in vignettes with multiple file name extensions (e.g., *.md.rsp but not *.Rmd) failed with an error when using options(help_type = "html").

  • Writing R Extensions now mentiones the macros MAYBE_REFERENCED, MAYBE_SHARED, and MARK_NOT_MUTABLE that should be used by package C code instead NAMED or SET_NAMED.

  • If the option setWidthOnResize is set and TRUE, R run in a terminal using a recent readline library will set the width option when the terminal is resized. Suggested by Ralf Goertz.

  • If multiple on.exit epressions are set using add = TRUE then all expressions will now be run even if one signals an error.

  • array(character(), 1) now gives (a 1D array with) NA as has been documented for a long time as in the other cases of zero-length array initialization and also compatibly with matrix(character(), *). As mentioned there, this also fixes PR#17333.

  • x <- 1:2; tapply(x, list(x, x), function(x) "")[1,2] now correctly returns NA again. (PR#17333)

  • Reverted unintended change in behavior of return calls in on.exit expressions introduced by stack unwinding changes in R 3.3.0.

Upcoming Events

  • RStudio conf 2018 January 31 to February 3
    rstudio::conf is about all things R and RStudio! Register & More infos

  • R/Finance 2018 June 1 and 2
    Applied Finance with R. More info

  • useR! 2018 July 10, 2018
    The annual useR! conference is the main meeting of the international R user and developer community.

More past events at R conferences & meetups.

Your support will keep R Weekly team moving! 💡

Quotes of the Week