Message-ID: <2f58fe9d-f4bc-42c5-b1b5-7686c084fc18@googlegroups.com>
Date: 2014-02-14T00:03:15Z
From: Matthew Bayly
Subject: Biomod model access
In-Reply-To: <DEF541F3CB545B4A8BC9A811132359C00368C90C6A63@KEXCH00.ad.kew.org>
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)
}