JuliaInterop / JuliaInterop/JuliaCall
issue with julia_setup
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 287
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
julia_setup not functioning, I've tried updating all relevant packages and both R and Julia to latest versions.
I receive the following error when running in R:
> jl_home<-"C:/Users/gsr05456/AppData/Local/Programs/Julia-1.11.5/bin"
> julia_setup(jl_home)
Julia version 1.11.5 at location C:\Users\gsr05456\AppData\Local\Programs\JULIA-~1.5\bin will be used.
Loading setup script for JuliaCall...
Error in .julia$cmd(paste0(Rhomeset, "Base.include(Main,\"", system.file("julia/setup.jl", :
Error happens when you try to execute command ENV["R_HOME"] = "C:/PROGRA~1/R/R-45~1.0";Base.include(Main,"C:/Users/gsr05456/AppData/Local/R/win-library/4.5/JuliaCall/julia/setup.jl") in Julia.
To have more helpful error messages,
you could considering running the command in Julia directly
running the command in julia generates:
julia> ENV["R_HOME"] = "C:/PROGRA~1/R/R-45~1.0";Base.include(Main,"C:/Users/gsr05456/AppData/Local/R/win-library/4.5/JuliaCall/julia/setup.jl")
WARNING: replacing module JuliaCall.
ERROR: LoadError: could not load symbol "SET_SYMVALUE":
The specified procedure could not be found.
in expression starting at C:\Users\gsr05456\AppData\Local\R\win-library\4.5\JuliaCall\julia\display\RmdJulia.jl:6
in expression starting at C:\Users\gsr05456\AppData\Local\R\win-library\4.5\JuliaCall\julia\setup.jl:16
seems similar to the issue described in: https://github.com/JuliaInterop/RCall.jl/issues/566
please advise
Contributor guide
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
Reproduce the reported Windows failure with julia_setup(jl_home) and the shown Julia command. Start by inspecting julia/setup.jl and julia/display/RmdJulia.jl, then compare the SET_SYMVALUE error with the linked RCall.jl issue. Done means the reported R and Julia versions initialize successfully, or the compatibility limitation is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia, r
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100