JuliaStats / RDatasets.jl

Julia package for loading many of the data sets available in R
GNU General Public License v3.0
160 stars 56 forks source link

ERROR: type: readtable: in typeassert, expected Int32, got Int64 #12

Closed dinurp closed 11 years ago

dinurp commented 11 years ago

Hi, I am facing an error when using iris dataset (some others too). I am using a latest 32-bit Julia build on windows. I tried using different versions of DataFrames with no luck. Regards, Dinu

julia> iris = data("datasets", "iris") ERROR: type: readtable: in typeassert, expected Int32, got Int64 in readtable at c:\TrainingInstall\julia\GitHub\julia-win32\usr\share\julia\packages\DataFrames\src \io.jl:664 in data at c:\TrainingInstall\julia\GitHub\julia-win32\usr\share\julia\packages\RDatasets\src\data. jl:6

julia> Pkg.status() BinDeps 0.2.0 Cairo 0.2.3 Gadfly 0.1.7 JSON master RDatasets 0.0.1 Color 0.2.3 ArgParse 0.2.4 Codecs 0.0.0 Compose 0.1.5 DataFrames 0.3.6 Distributions 0.2.0 Iterators 0.1.1 Options 0.2.1 TextWrap 0.1.1 Mustache 0.0.0 GZip 0.2.4 Stats 0.2.3 NumericExtensions 0.2.10

dinurp commented 11 years ago

I was able to locate the problem in DataFrames. This issue raised there https://github.com/JuliaStats/DataFrames.jl/issues/330