~/ learn/ afm-112/ cards/ "cannot open file" means the wrong folder
1 of 8

In R, type the assignment that reads orders.csv from the working directory into a data frame named orders.

In R, type the assignment that reads orders.csv from the working directory into a data frame named orders.

Answer

orders <- read.csv("orders.csv")

header = TRUE and sep = "," are the defaults. The result is the 12 × 6 data frame; str(orders) in the next lesson shows each column's type.

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/5a0b66d1-0514-4bca-9b0e-51d82710bb2f/flashcard utf-8 LF