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 while loading the datasets #11

Closed papamarkou closed 11 years ago

papamarkou commented 11 years ago

I tried to run the example that I found in the README.md of Gadfly and got the following error when I tried to load the R dataset:

julia> mammals = data("MASS", "mammals")
ERROR: type IOBuffer has no field ios
 in extract_string at /home/theodore/.julia/DataFrames/src/io.jl:29
 in read_separated_line at /home/theodore/.julia/DataFrames/src/io.jl:152
 in determine_column_names at /home/theodore/.julia/DataFrames/src/io.jl:245
 in read_table at /home/theodore/.julia/DataFrames/src/io.jl:380
 in data at /home/theodore/.julia/RDatasets/src/data.jl:14
johnmyleswhite commented 11 years ago

This was a bug in DataFrames that is fixed now.

papamarkou commented 11 years ago

Thanks John, yes, it works now (I noticed that the bug was in DataFrames after opening the issue in RDatasets, perhaps I rushed).

johnmyleswhite commented 11 years ago

No worries.