JuliaAcademy / JuliaAcademy/DataScience
Packages not added correctly
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 533
- Forks
- 266
- PR merge metrics
- No merged PRs in 30d
Description
Having followed the instructions of th "Getting started..." video and then using the "01. Data" notebook is not enough for setting up the packages and dependencies.
When running:
using RData
R_data = RData.load("data/mytempdata.rda")
# We'll need RCall to save here. https://github.com/JuliaData/RData.jl/issues/56
using RCall
@rput R_data
R"save(R_data, file=\"mywrite.rda\")"
The following error appears:
└ @ Base loading.jl:1662
ERROR: LoadError: RCall not properly installed. Please run Pkg.build("RCall")
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] top-level scope
@ C:\Users\dslaifstein\.julia\packages\RCall\6kphM\src\RCall.jl:36
[3] include
@ .\Base.jl:419 [inlined]
[4] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
@ Base .\loading.jl:1554
[5] top-level scope
@ stdin:1
in expression starting at C:\Users\dslaifstein\.julia\packages\RCall\6kphM\src\RCall.jl:2
in expression starting at stdin:1
Failed to precompile RCall [6f49c342-dc21-5d91-9882-a32aef131414] to C:\Users\dslaifstein\.julia\compiled\v1.8\RCall\jl_BAC3.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
@ Base .\loading.jl:1705
[3] compilecache
@ .\loading.jl:1649 [inlined]
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1337
[5] _require_prelocked(uuidkey::Base.PkgId)
@ Base .\loading.jl:1200
[6] macro expansion
@ .\loading.jl:1180 [inlined]
[7] macro expansion
@ .\lock.jl:223 [inlined]
[8] require(into::Module, mod::Symbol)
@ Base .\loading.jl:1144
[9] eval
@ .\boot.jl:368 [inlined]
[10] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
@ Base .\loading.jl:1428
also applies for the rest of the packages that use HDF5, because apparently there's an issue with the version declared in the manuscript and the one in the base environment.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the 01. Data notebook and its setup instructions, then compare the manuscript's declared versions with the base environment for RCall and HDF5-related packages. Done means a fresh learner can run the shown RData/RCall example and the other HDF5-using packages after following the documented setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100