[R] Error running predict

topjetboy topjetboy at yahoo.com
Mon Dec 21 22:52:01 CET 2015


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]]



More information about the R-help mailing list