我保存了我的随机森林模型:
> class(randomForestModel)
[1] "randomForest.formula" "randomForest"
> save(randomForestModel,file = "../randomForestModel.RData")
稍后,当我尝试使用加载它时
> load("../randomForestModel.RData")
R 将其加载为字符:
> class(randomForestModel)
[1] "character"
有人能帮我吗?