Say I train a model in caret, e.g.:

RFmodel <- train(X,Y,method='rf',trControl=myCtrl,tuneLength=1)

How can I save this to disk and load it later in R?

How about an object of the class "resamples"?

resamps <- resamples(
        list(   RF = RFmodel,
                SVM = SVMmodel,
                KNN = KNNmodel,
                NN = NNmodel
                ))

Thanks,

James

	[[alternative HTML version deleted]]

