Video: SimpleR tricks and tools: Help, debugging, git, LaTeX, and workflow with R by Prof Rob Hyndman

This post shares the video from a talk presented on 20th November 2012 by Professor Rob Hyndman at Melbourne R Users. The talk provides an introduction to:

  • Getting R help
  • Debugging R functions
  • R style guides
  • Making good use of Rprofiles.
  • Having a good R workflow
  • Version control facilities
  • Using R with LaTeX (without using sweave or knitr)
  • Turning functions into packages

Prof Rob J Hyndman has used R and its predecessors (S and S+) almost every working day (and some weekends) for the past 25 years. He thought it might be helpful to discuss some of what he has learned and the tricks and tools that he uses. Topics to be discussed will possibly include:

Rob J Hyndman is Professor of Statistics at Monash University and Director of the Monash University Business and Economic Forecasting Unit. He completed a science degree at the University of Melbourne in 1988 and a PhD on nonlinear time series modelling at the same university in 1992. He has worked at the University of Melbourne, Colorado State University, the Australian National University and Monash University. Rob is Editor-in-Chief of the “International Journal of Forecasting” and a Director of the International Institute of Forecasters. He has written over 100 research papers in statistical science. In 2007, he received the Moran medal from the Australian Academy of Science for his contributions to statistical research. Rob is co-author of the well-known textbook “Forecasting: methods and applications” (Wiley, 3rd ed., 1998) and of the book “Forecasting with exponential smoothing: the state space approach” (Springer, 2008). He is also the author of the widely-used “forecast” package for R. For over 25 years, Rob has maintained an active consulting practice, assisting hundreds of companies and organizations on forecasting problems. His recent consulting work has involved forecasting electricity demand, tourism demand and the Australian government health budget. More information is available on his website at

Additional Resources:

Highlights from the useR! 2012 conference

Video (screencast) of the presentation by Szilard Pafka at the Los Angeles R users group.

I summarized (with short demos) a few of the talks from the useR! 2012 conference. We are planning one more meetup to cover more talks.

Topics discussed: byte-code compiling, the devtools package, ggmap, Rstudio‘s latest features (projects, git/svn, knitr-markdown integration for reproducible research), cranvas, Simon Urbanek’s talk on interactive graphics in the browser (with Rserve and FastRWeb on the backend), tabplot and httr.

This is just a very small slice of the excellent talks I have attended. It was an awesome conference, thanks to the organizers, the speakers and to the participants. I’ll try to cover some more talks in a following Los Angeles R users group meetup, though the choice of topics will still be heavily biased by my main interests (and even within that subset I cannot really cover all the interesting talks). I encourage you to attend next year, so you can have it all.

Creating an R package, using developer/productivity tools

Couple of R programming (mainly infrastructure/workflow) related topics discussed at the Los Angeles R users group in a tutorial/demo-like form (targeted mainly to beginners) by Szilard Pafka and Jeroen Ooms: how easy it is to create a simple package for your R code, the benefits of having your code in packages, documentation, automated testing and version control, the basic infrastructure R and some other software tools provide for this (CMD check, roxygen, devtools, RUnit/testthat, git/svn) and how an IDE can improve productivity.

Video (integrated slides+demo+audio) is embedded next, but we encourage you to watch it in higher resolution (especially the demo part).

More info on the meeting and about the Los Angeles R users group here. More meetings to come on further R programming and related topics such as programming with classes (S3/S4), debugging, more productivity tools etc.

R Workflow: Melbourne R Users Dec 1st 2010

Melbourne R Users Group December 1st 2010 Meeting
(Meetup page).

1. “What my R code looks and feels like (Vanilla)” by Geoff Robinson

The other talk from the session was by Geoff Robinson
who discussed several useful strategies for working with R.

Video is embedded below (requires Flash and may not be viewable in
RSS Readers)

or go here .

2. “Reproducible Research and R Workflow” by Jeromy Anglim

Video is embedded below:

or go here

Many thanks to Pedro Olaya for filming and
Drew Conway for posting and hosting the videos.