Update xgb.DMatrix.save.R

This commit is contained in:
Tianqi Chen 2014-09-06 18:38:01 -07:00
parent 67fc1dd990
commit e7bce3a940

View File

@ -22,6 +22,6 @@ xgb.DMatrix.save <- function(DMatrix, fname) {
PACKAGE = "xgboost")
return(TRUE)
}
stop("xgb.save: the input must be either xgb.DMatrix or xgb.Booster")
stop("xgb.DMatrix.save: the input must be xgb.DMatrix")
return(FALSE)
}