By the way, what would the preferred package(s) be to open a file, check for gzip, bzip2 or xz compression, then uncompress using the detected compression scheme?
This does not seem to be resolved yet. Today I got similar problems and could not even read a simple .Rdata file.
In R (version 3.5.0) I generate the file with:
> a <- 42
> save(a,file="tmp.Rdata")
and then in Julia (version 0.6.2):
julia> Pkg.status("RData")
- RData 0.4.0
julia> using RData
WARNING: Method definition unix2zdt(Real) in module TimeZones at /Users/a/.julia/v0.6/TimeZones/src/conversions.jl:122 overwritten in module RData at /Users/a/.julia/v0.6/RData/src/convert.jl:201.
julia> load("tmp.Rdata")
Error encountered while loading "/Users/a/tmp.Rdata".
Fatal error:
ERROR: UndefVarError: load not defined
Stacktrace:
[1] #load#27(::Array{Any,1}, ::Function, ::FileIO.File{FileIO.DataFormat{:GZIP}}) at /Users/a/.julia/v0.6/FileIO/src/loadsave.jl:180
[2] load(::FileIO.File{FileIO.DataFormat{:GZIP}}) at /Users/a/.julia/v0.6/FileIO/src/loadsave.jl:167
[3] #load#13(::Array{Any,1}, ::Function, ::String) at /Users/a/.julia/v0.6/FileIO/src/loadsave.jl:113
[4] load(::String) at /Users/a/.julia/v0.6/FileIO/src/loadsave.jl:113
while I can read the file iris.rda, which ships with Rdatasets, without any problem:
julia> load("/Users/a/.julia/v0.6/RDatasets/data/datasets/iris.rda")
Dict{String,Any} with 1 entry:
"iris" => 150×5 DataFrames.DataFrame…