Hi great that was easy I feel like a bit of a fool for not figuring this 
out.


TO LOAD ALL SAVED MODELS AT ONCE:

library(biomod2)
# change directory to where you stored you’re original models (my documents 
is default if you did not specify). Go into the file models

*# TO LOAD ALL SAVED MODELS FROM PREVIOUS RUN*

rm(list=ls()) #will remove ALL objects currently stored in R

# open old models with the load command load()
list.files() # check to see if all your files appeared correctly

f <- as.list(list.files()) # get ready to load

for(i in f) {

  load(i)

}

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to