using R 3.2.3 on windows.
> library(caret); library(kernlab);data(spam)
> intrain <- createDataPartition(y=spam$type, p=0.75, list=FALSE)> training <- 
> spam[intrain,]
> testing <- spam[-intrain]> set.seed(32343)> modelFit <- train(type 
> ~.,data=training, method="glm")
> modelFit> modelFit$finalModel
Degrees of Freedom: 3450 Total (i.e. Null);  3393 ResidualNull Deviance:      
4628 Residual Deviance: 1355         AIC: 1471
next line gives an error:> predictions <- predict(modelFit, newdata=testing)
Error in eval(expr, envir, enclos) : object 'make' not found
What is 'make'? Is it looking for the gnu-C compiler?

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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