#I had the plants data saved in my documents folder, and I named the entire file "data" using the code below setwd("C://Users/Jess/Documents") save(plants, potential_sites, file="data.Rdata") #So if you simulate multiple data sets and don't want each one saved as a csv seperately you can use the save command to save to whatever you have specified as your working directory. #Later you come back to the data and since it is an R file load it in. This is what you will do with the data I have sent you setwd("C://Users/Jess/Documents") load("data.Rdata") #Unfortunately it is hard to know what is in the data file if it is saved this way, in this case there is the plants data set and potential_sites data set plants potential_sites The script is a combination of Kriging done for my project and in classes so you may need to double check that the specified data sets and column names are correct.