R Weekly 2017 Issue 15
Highlight

purrr
Tutorial  A functional programming toolkit for R.
Insights
Resources

purrr
Tutorial  A functional programming toolkit for R.
R in the Real World

Mapping Belgian geographic codes and data with R  Walkthrough demonstrating how to recode (Belgian) postal codes and geographic classifications and make thematic maps with R, tmap & the tidyverse.
R in Organizations

Composing reproducible manuscripts using R Markdown  eLife now accepts manuscripts in R Markdown

Google Cloud Platform for Data Scientists: Using R with Google BigQuery

Solving Data Science’s First Mile Problem  Introduction to data.world website.
Videos and Podcasts

Ihaka Lecture Series 2017: Statistical computing in a (more) static environment

R Weekly Podcast 2017:15  R Consortium Q1 2017 ISC Grants  Podcast Feed
Tutorials

Understanding the CANDECOMP/PARAFAC Tensor Decomposition, aka CP; with R code

An Introduction to Stock Market Data Analysis with R (Part 2)

Everybody talks about the weather  While the GSOD data are a valuable source of weather data with global coverage. The data files can be cumbersome and difficult to work with for research purposes.

Publish R functions as stored procedures with the sqlrutils package

Understanding the Tucker decomposition, and compressing tensorvalued data (with R code)

Fitting a rational function in R using ordinary leastsquares regression
New Packages & Tools

PolYamoR  Twoway translator between Python and R

DuckduckR  DuckDuckGo’s Instant Answer API for R

texPreview  Compile and Preview Snippets of ‘LaTeX’ in ‘RStudio’

ggspatial  Spatial data framework for ggplot2
New Releases

Shiny 1.0.1  Easy interactive web applications with R

GSODR 1.0.2.1  Global Surface Summary of the Day

packcircles 0.2.0  Simple algorithms for circle packing

tidyquant 0.5.0  select, rollapply, and Quandl

drake 2.1.0  Data Frames in R for Make

Bio7 2.5  IDE for ecological modelling and contains powerful tools for model creation, scientific image analysis and statistical analysis.

RApiDatetime 0.0.3  Clevel datetime code from R for Clevel use by other packages.
Call for Participation
R Project Updates
Updates from R Core:

Fix problems in command completion: Crash (PR#17222) and junk display in Windows, handling special characters in filenames on all systems.

callNextMethod()
was broken when called from a method that augments the formal arguments of a primitive generic. 
Coercion of an S4 object to a vector during subassignment into a vector failed to dispatch through the
as.vector()
generic (often leading to a segfault). 
One can now choose from alternative matrix product implementations via
options(matprod = )
. The"internal"
implementation is not optimized for speed but consistent in precision with other summations in R (usinglong double
accumulators where available)."blas"
calls BLAS directly for best speed, but usually with undefined behavior for inputs withNaN
/Inf
.
Upcoming Events

R/Finance 2017 May 19 and 20, 2017
From the inaugural conference in 2009, the annual R/Finance conference in Chicago has become the primary meeting for academics and practioners interested in using R in Finance. 
CSAMA 2017 June 11  16, 2017
Statistical Data Analysis for GenomeScale Biology teaches statistical and computational analysis of multiomics studies in biology and biomedicine. Practical handson exercises are based on the R / Bioconductor environment. 
useR! 2017 July 4, 2017
The annual useR! conference is the main meeting of the international R user and developer community.
More past events at R conferences & meetups.
Quotes of the Week
dplyr finally has it's own 🕸site! https://t.co/GS6qGahGcF (still a work in progress) #rstats
— Hadley Wickham (@hadleywickham) April 4, 2017
Journals be like: Figures must be EPS/TIFF#rstats be like:
— Nicholas Tierney (@nj_tierney) April 4, 2017
knitr::opts_chunk$set(dev = "tiff")
magick::image_convert(img, format = "tiff") pic.twitter.com/sayYXQdMIs
Productive procrastination: find out who maintains the #rstats packages you are currently using with thankr :) https://t.co/llDyzM2Aw7 pic.twitter.com/QJZYztG4Qb
— Dirk Schumacher (@dirk_sch) April 7, 2017