major change in the design of R interface

This commit is contained in:
unknown
2014-08-26 23:41:03 -07:00
parent 84e5fc285b
commit 0130be4acc
21 changed files with 1175 additions and 128 deletions

5
R-package/R/xgb.load.R Normal file
View File

@@ -0,0 +1,5 @@
xgb.load <- function(modelfile) {
if (is.null(modelfile))
stop('xgb.load: modelfile cannot be NULL')
xgb.Booster(modelfile=modelfile)
}