The R-Podcast

Giving practical advice on how to use R for powerful and innovative data analyses.

The R-Podcast Episode 8: Visualization with ggplot2

I'm happy to present this jam-packed episode of the R-Podcast dedicated to using the ggplot2 package for visualization. This episode will have a companion screencast released in the next few days. I use data from the Hockey Summary Project to demonstrate how to create a series of boxplots of NHL regular season attendance for each team. The R code used in this episode will be available via GitHub. I also extend my thanks to the Going Linux podcast for plugging the R-Podcast. If you are interested in providing a listener tip about R, please call the voicemail hotline at +1-269-849-9780 or record an audio clip and send it to theRcast(at)gmail.com. Please keep the wonderful feedback coming and hope you enjoy this episode! The following resources are mentioned in this episode:

Direct Download: [mp3 format] [ogg format]

Episode 8 Time Stamps

00:00 The R-Podcast #008 Visualization with ggplot2
00:34 Introduction
01:45 Thank you Going Linux
05:01 Listener feedback
14:14 ggplot2 background and philosophy
23:00 Description of data 
30:20 Setting up our plot with ggplot function
38:15 Adding boxplot layer
44:31 Customizing appearance
60:35 Facet by era
67:02 Making code reproducible
73:03 Helpful ggplot2 resources
85:30 Wrapping up: subscribe to the podcast, theRcast@gmail.com, + 1-269-849-9780, Twitter @theRcast
89:29 End

The R-Podcast Episode 7: Best Practices for Workflow Management

Hello everybody, I am finally back with a new episode! In this episode: Hardware issues, major update to RStudio, new forums, and discussion on managing your workflow for projects. I discuss useful functions for executing R scripts and saving/loading R objects for future sessions, and summarize different solutions for organizing R code based on task and via the ProjectTemplate package, along with the importance of version control. Please check out the new forums and let me know what you think! If you are interested in providing a listener tip about R, please call the voicemail hotline at +1-269-849-9780 or record a short mp3 or ogg audio clip and send it to theRcast(at)gmail.com . As always I welcome any other feedback you have. Thanks for listening! P.S. From our Google Plus page, Darren pointed out that I switched forward slashes with backward slashes in my discussion about file paths in Episode 6. Thanks Darren! The following resources are mentioned in this episode:

Direct Download: [mp3 format] [ogg format]

Episode 7 Time Stamps

00:00 The R-Podcast #007 Best Practices for Workflow Management
00:31 Introduction
01:07 No more TV recording for now
03:40 New forums!
08:25 RStudio update v0.96
12:50 Listener feedback
19:35 Using source(), save(), save.image(), and load()
25:00 load.R, clean.R, func.R, do.R
29:50 ProjectTemplate
40:06 Version Control with Git, RStudio
46:30 Wrapping up: subscribe to the podcast, theRcast@gmail.com, + 1-269-849-9780, Twitter @theRcast
52:44 End

The R-Podcast Episode 6: Importing Data from External Sources

In this episode: Listener feedback and importing data from external sources into R. We dive into the basics of importing delimited text files using read.table and its varients. We also discuss recommendations for importing MS Excel spreadsheet files, relational databases such as MySQL, data from HTML tables, and files produced by other statistical computing packages. If you are interested in providing a listner tip about R in audio format, please call the voicemail hotline at +1-269-849-9780 or record a short mp3 or ogg audio clip and send it to theRcast(at)gmail.com . Hope you enjoy the episode! The following resources are mentioned in this episode:

Direct Download: [mp3 format] [ogg format]

Episode 6 Time Stamps

00:00 The R-Podcast #006 Importing Data from External Sources
00:34 Introduction
01:46 Listener Feedback
07:45 Description of delimited text files
09:18 Using read.table and key arguments
18:17 R Data Import-Export Manual
19:10 Importing spreadsheet data considerations
21:10 XLConnect package advantages
25:20 Importing HTML tables using XML package
33:55 Using RMySQL with MySQL databases
43:52 Data from other statistical software
44:18 The foreign package
45:45 sas7bdat package
49:13 Wrapping up: subscribe to the podcast, theRcast@gmail.com, + 1-269-849-9780
53:54 End

The R-Podcast Episode 5: Basic Package Management

After a brief delay here's episode 5 of the R-Podcast. In this episode: R 2.15.0 released, listener feedback, and discussion on basic package management. I discuss helpful resources for finding packages, installation procedures, and how to determine what packages are installed in your R system, among other considerations. If you are interested in providing a listener tip about R in audio format, please call the voicemail hotline at +1-269-849-9780 or record a short mp3 or ogg audio clip and send it to theRcast(at)gmail.com . Hope you enjoy the episode! The following resources are mentioned in this episode:

Direct Download: [mp3 format] [ogg format]

Episode 5 Time Stamps

00:00 The R-Podcast #005 Basic Package Management
00:32 Introduction
01:06 R 2.15.0 "Easter Beagle" released
02:01 Listener Feedback
09:02 What is a package?
12:00 Libraries
13:33 What packages do you have?
19:36 Finding packages
33:26 Installing packages
46:12 Using packages
51:08 Updating packages
58:12 Wrapping up: subscribe to the podcast, theRcast(at)gmail.com, + 1-269-849-9780
61:14 End

The R-Podcast Episode 4: Data Structures-Introduction

In this episode: Site updates, additional screencasts about R from other sites, listener feedback, and discussion on the fundamental data structures for R: vectors, matrices, lists, and data frames. The R code discussed in this episode is available in our GitHub repository, see the show notes for details. Leave us a voicemail a +1-269-849-9780, or send an email or audio comment to theRcast[at]gmail.com. Thanks for listening! The following resources are mentioned in this episode:

Direct Download: [mp3 format] [ogg format]

Episode 4 Time Stamps

00:00 The R-Podcast #004 Data Structures-Introduction
00:31 Introduction
01:56 Google Plus info
03:10 Other screencasts about R
05:23 Listener Feedback
08:57 Data Structures
10:40 Vectors
18:30 Matrices
24:17 Lists
31:30 Data Frames
41:36 R Reference Card
43:52 Wrapping up: subscribe to the podcast, theRcast@gmail.com, + 1-269-849-9780, Twitter @theRcast
49:26 End