Introduction to R

Who uses R

Popularity of Data Science Software

Software in Job Ads

The number of data science jobs for the more popular software (those with 250 jobs or more, 2/2017).

Scholarly Articles

Number of scholarly articles found in the most recent complete year (2016) for the more popular data science software. To be included, software must be used in at least 750 scholarly articles.

Trend in scholarly articles

The number of scholarly articles found in each year by Google Scholar. Only the top six “classic” statistics packages are shown.

Trend in scholarly articles

The number of scholarly articles found in each year by Google Scholar for classic statistics packages after the curves for SPSS and SAS have been removed.

Rexer’s biannual Data Science Survey

1,220 respondents from 72 different countries

Tool Use

Change over time

Interface to R

Getting Started

Questions from the readings?

Many ‘Cheatsheets’ available

https://www.rstudio.com/resources/cheatsheets/

Basic R Data Structures

http://github.com/rstudio/cheatsheets/raw/master/base-r.pdf

Data Transformation

https://github.com/rstudio/cheatsheets/raw/master/data-transformation.pdf

Training your eyes

Fix the errors

Do you see any errors in the following code?

Interpret these error statements

Discuss with your neighbor what the error statement is saying. How would you fix it?

Let’s get coding…

Open today’s activity and work through the exercise.