R Weekly 2017 Issue 3
Highlight
-
How Stack Overflow plans to survive the next DNS attack - Server Fault Blog - Visualization with R
-
Top 50 ggplot2 Visualizations - The Master List (With Full R Code)
-
The best R package for learning to “think about visualization”
Live in rstudio::conf 2017
-
Announcing RStudio Connect – For all the work your teams do in R
-
kbroman/RStudioConf2017Slides - Links to slides for talks at the 2017 rstudio::conf
Tutorials
-
Regression model with auto correlated errors – Part 1, the data
-
R for Beginners: Some Simple Code to Produce Informative Graphs, Part One
-
Simulation of empirical Bayesian methods (using baseball statistics)
Insights
-
Top 50 ggplot2 Visualizations - The Master List (With Full R Code)
-
The best R package for learning to “think about visualization”
-
Mapping useRs - The first in a series of posts on the useR! 2016 survey.
R in the Real World
-
How Stack Overflow plans to survive the next DNS attack - Server Fault Blog - Visualization with R
R in Organization
Videos and Podcasts
Resources
New Packages and Tools
-
brms - R packages interfacing with Stan
-
rtrie - The rtrie package allows you to quickly create Tries from a list of strings.
-
fivethirtyeight - Data and Code Behind the Stories and Interactives at ‘FiveThirtyEight’
-
shinytest - Unit tests for shiny apps — Work in Progress
-
taskscheduleR - New RStudio add-in to schedule R scripts
New Releases
- DiagrammeR 0.9 - Create graph diagrams and flowcharts using R.
-
RcppCCTZ 0.2.0 - ‘Rcpp’ Bindings for the ‘CCTZ’ Library
-
nanotime 0.1.0 - Now on Windows
-
Custom images for Shiny dashboard valueBox icons - I’ve provided a gist that shows how to achieve the use of custom icons with local image files.
R Project Updates
Updates from R Core:
-
The
format()
andprint()
methods forobject.size()
results get new optionsstandard
anddigits
; notably,standard = "IEC"
andstandard = "SI"
allow more standard abbreviations than the default ones, e.g., for kilo bytes. From contributions by Henrik Bengtsson. -
The order of flags when
LinkingTo
other packages has been changed so their include directories come earlier, before those specified inCPPFLAGS
. This will only have an effect if non-system include directories are included with-I
flags inCPPFLAGS
(and so not the default-I/usr/local/include
on most platforms). -
bug.report()
now tries to extract an email address from aBugReports
field, and if there is none, from aContacts
field. -
R CMD check
now checks anyBugReports
field to be non-empty and a suitable single URL. -
bug.report()
did not do any validity checking on a package’sBugReports
field. It now ignores an empty field, removes leading whitespace and only attempts to openhttp://
andhttps://
URLs, falling back to emailing the maintainer. -
findMethod
failed if the active signature had expanded beyond what a particular package used. (Example with packages XR and XRJulia on CRAN). -
On some systems, very small hexadecimal numbers in hex notation would underflow to zero. (PR#17199)
-
(Windows only)
dir.create()
did not check the length of the path to create, and so could overflow a buffer and crash R. (PR#17206) -
Environmental variable
_R_CHECK_TESTS_NLINES_
controls howR CMD check
reports failing tests (see §8 of theR Internals
manual).
Call for Participation
-
Call to join Forwards - the R Foundation taskforce on women and other under-represented groups.
Upcoming Events
-
SatRday #2 Conference - Cape Town, South Africa 18 Feb, 2017
The R community and some of South Africa’s most forward thinking companies have come together to bring satRday to Cape Town. This conference brings an opportunity to hear from and network with top Researchers, Data Scientists and Developers from all over the country and the world. -
useR! 2017 July 4, 2017
The annual useR! conference is the main meeting of the international R user and developer community. Its program consists of both invited and user-contributed presentations.
Quotes of the Week
The tidyverse has a comfortable lead on base R in #rstudioconf tweets! (subtitle establishes my neutrality on the subject) #rstats pic.twitter.com/AuNmLVMjLF
— Mike Kearney📊 (@kearneymw) January 14, 2017
By one crude measure (page views on Wikipedia), R is catching Python in popularity. pic.twitter.com/9OUdj3dWI6
— Sean J. Taylor (@seanjtaylor) January 12, 2017
my 11-yr-old son just said to me, “I read your blog.” Urp.
— Karl Broman (@kwbroman) January 12, 2017