Package Management in R with Checkpoint Andrew Worsley
http://difinity.co.nz/
Don’t Forget Silence your cell phones Online Evaluations www.sqlsaturday.com/571/sessions/sessionevaluation.aspx www.sqlsaturday.com/571/eventeval.aspx Submit for raffles by 3:30PM
Andrew Worsley Data Scientist @aworsleynz
So why all the Fuss about R?
R is... 'Free' Capable Well supported Growing Improving 2016 IEEE Spectrum Programming Language Rankings
library(threejs) # outliers will be coloured red, all other points will be grey col = rep("#4c4646",nrow(dat)) col[top.ten] = "#b20000" # javascript 3d scatter plot scatterplot3js(x,y,z,num.ticks=NULL,color=col)
How do I ensure my work is reproducible when packages keep updating!?
require(checkpoint)
Checkpoint ‘The goal of checkpoint is to solve the problem of package reproducibility in R. Specifically, checkpoint allows you to install packages as they existed on CRAN on a specific snapshot date as if you had a CRAN time machine.’ – CRAN R Documentation Author: Microsoft Corporation Maintainer: Andrie de Vries Key function: checkpoint()
Demo A Very Basic Example
QUESTIONS
References and Further Reading checkpoint Documentation https://cran.r-project.org/web/packages/checkpoint/index.html Revolution Analytics Blog http://blog.revolutionanalytics.com/2014/10/introducing-rrt.html Git Repo https://github.com/RevolutionAnalytics/checkpoint threejs Documentation https://cran.r-project.org/web/packages/threejs/index.html R Tools for Visual Studio https://www.visualstudio.com/vs/rtvs/
http://difinity.co.nz/
Thank You This FREE SQL Saturday is brought to you courtesy of these sponsors, speakers and volunteers who staff this event