# Import data

I personally used fread() from data.table. On top of importing large CSV files in a breeze, it also provides neat options for weirdly-formatted files (yes, I am looking at you, Mesa). Depending on your needs, another package may be of a better help (see sources).
data <- fread("data.csv")

data is not an actual data frame. You may need to convert it.