Reading data

As discussed before, it is relatively simple to read files in R using the provisions in read.csv and other utilities. Subsetting strings can be performed using the standard R indexing methods or by using one of the several string utilities in R such as substr, substring, paste, and paste0.

Get Hands-On Data Science with R now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.