When you run load(“iris.csv”) you might get the error, “Use of save versions prior to 2 is deprecated in R” R might also shoot you this error when you run: source(“iris.csv”) iris<-readRDS(“iris.csv”) Try, iris<-read.csv(“iris.csv”) and it should work.