logo
Loading...

用最新的 RDataset v0.6.8 好像會有問題 要改成v0.6.7? - Cupoy

網路上有類似的 issue: https://discourse.julialang.org/t/r...

用最新的 RDataset v0.6.8 好像會有問題 要改成v0.6.7?

2020/05/17 05:23 PM
Julia程式語言論壇
謝立軒
觀看數:0
回答數:1
收藏數:0

網路上有類似的 issue: https://discourse.julialang.org/t/rdataset-error-while-running-examples/39255

下面是我在執行 `iris = dataset("datasets", "iris")` 遇到的

Error encountered while loading "/Users/lihsuan.hsieh/.julia/packages/RDatasets/WIQKI/src/../data/datasets/iris.rda".


Fatal error:

UndefVarError: identifier not defined


Stacktrace:

 [1] handle_error(::UndefVarError, ::FileIO.File{FileIO.DataFormat{:RData}}) at /Users/lihsuan.hsieh/.julia/packages/FileIO/ZknoK/src/error_handling.jl:82

 [2] handle_exceptions(::Array{Any,1}, ::String) at /Users/lihsuan.hsieh/.julia/packages/FileIO/ZknoK/src/error_handling.jl:77

 [3] #load#27(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::FileIO.Formatted) at /Users/lihsuan.hsieh/.julia/packages/FileIO/ZknoK/src/loadsave.jl:186

 [4] load(::FileIO.Formatted) at /Users/lihsuan.hsieh/.julia/packages/FileIO/ZknoK/src/loadsave.jl:166

 [5] #load#13(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::String) at /Users/lihsuan.hsieh/.julia/packages/FileIO/ZknoK/src/loadsave.jl:118

 [6] load at /Users/lihsuan.hsieh/.julia/packages/FileIO/ZknoK/src/loadsave.jl:118 [inlined]

 [7] dataset(::String, ::String) at /Users/lihsuan.hsieh/.julia/packages/RDatasets/WIQKI/src/dataset.jl:12

 [8] top-level scope at In[15]:1