edwindj / ffbase

Basic (statistical) functionality for R package ff
github.com/edwindj/ffbase/wiki
35 stars 15 forks source link

Cannot use x ~ . formula syntax in bigglm #21

Closed ghost closed 11 years ago

ghost commented 11 years ago

Currently bigglm does not support x ~ . syntax for the formula. This can be fixed by changing line 23 from terms<-terms(formula) to

if (!is.null(data)) {
  terms <- terms(formula, data = data)
} else {
  terms <- terms(formula)
}
edwindj commented 11 years ago

Thanks! I put it on github now. It will be part of a new release to CRAN.