diff --git a/R-package/R/xgb.cv.R b/R-package/R/xgb.cv.R index 89edbeb63..7ad2e5c41 100644 --- a/R-package/R/xgb.cv.R +++ b/R-package/R/xgb.cv.R @@ -200,7 +200,7 @@ xgb.cv <- function(params=list(), data, nrounds, nfold, label = NULL, missing = } else { if (i - bestInd >= early.stop.round) { earlyStopflag <- TRUE - cat('Stopping. Best iteration:',bestInd) + cat('Stopping. Best iteration:', bestInd, '\n') break } }