I hate R with a passion! With the invention of iPython + Statsmodels + Pandas, or even Julia these days, it is becoming painfully obvious that it is the worst option of them all. The syntax sucks, there are 10 ways to do the same thing, and it isnâ€™t scalable. Unfortunately, if you work in data science, it is still unavoidable a lot of statistical work is still done in R.

I dont think you need to learn the language fluently, but here are a series of commands that definitely will help you get by:

Install A Package

Changing your working directory

Run an R script

Open plot window from within R script

Reading data from a CSV

Converting a Data Frame Column From String to Date

Calculate the sum of multiple columns in a Data Frame

Calculate the mean of multiple columns in a Data Frame

Filtering A Data Frame Column On Upper + Lower Bounds