edwindj / ffbase

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

bySum error since R 3.0.0 #18

Closed stevechc closed 10 years ago

stevechc commented 10 years ago

Hi, I've having the following bySum error since R version 3.0.0.

In R 2.15.x, bySum works without any problem

bySum(iris$Sepal.Length,iris$Species)

Error in bySum(iris$Sepal.Length, iris$Species) : REAL() can only be applied to a 'numeric', not a 'symbol'

edwindj commented 10 years ago

Thanks for your report: it was broken because the underlying C code was optimized for speed. Should be fixed now in github.

Best regards,

Edwin