Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preferences.jl can only be used on Julia v1.6+! #229

Open
isaamael opened this issue May 30, 2024 · 0 comments
Open

Preferences.jl can only be used on Julia v1.6+! #229

isaamael opened this issue May 30, 2024 · 0 comments

Comments

@isaamael
Copy link

Hi ! erro as follow:

julia version 1.4.0
R version 4.3.3

Session Info
> packageVersion("JuliaCall")
[1] ‘0.16.6> julia_setup()
Julia version 1.4.0 at location /public/home/xuruiqiang/software/julia/julia1.4.0/julia-1.4.0/bin will be used.
Loading setup script for JuliaCall...
WARNING: replacing module JuliaCall.
ERROR: LoadError: Preferences.jl can only be used on Julia v1.6+!
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] top-level scope at /public/home/xuruiqiang/.julia/packages/Preferences/enLcN/src/Preferences.jl:4
 [3] include(::Module, ::String) at ./Base.jl:377
 [4] top-level scope at none:2
 [5] eval at ./boot.jl:331 [inlined]
 [6] eval(::Expr) at ./client.jl:449
 [7] top-level scope at ./none:3
in expression starting at /public/home/xuruiqiang/.julia/packages/Preferences/enLcN/src/Preferences.jl:3
ERROR: LoadError: Failed to precompile Preferences [21216c6a-2e73-6563-6e65-726566657250] to /public/home/xuruiqiang/.julia/compiled/v1.4/Preferences/pWSk8_Znzu6.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922
 [6] include(::Module, ::String) at ./Base.jl:377
 [7] top-level scope at none:2
 [8] eval at ./boot.jl:331 [inlined]
 [9] eval(::Expr) at ./client.jl:449
 [10] top-level scope at ./none:3
in expression starting at /public/home/xuruiqiang/.julia/packages/RCall/dDAVd/src/RCall.jl:3
LoadError("/public/home/xuruiqiang/R_libs/JuliaCall/julia/setup.jl", 72, ErrorException("Failed to precompile RCall [6f49c342-dc21-5d91-9882-a32aef131414] to /public/home/xuruiqiang/.julia/compiled/v1.4/RCall/8GFyb_xDoml.ji.")) Error in .julia$cmd(paste0("Base.include(Main,\"", system.file("julia/setup.jl",  : 
  Error happens when you try to execute command Base.include(Main,"/public/home/xuruiqiang/R_libs/JuliaCall/julia/setup.jl") in Julia.
                        To have more helpful error messages,
                        you could considering running the command in Julia directly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant