The first row of the data file should contain the column names. #Data Frame -------------- Hight, Weight 170, 45 158, 50 165, 55 -------------- #Import data from CSV myData<-read.table("c://data.csv",sep=",") ----