rfael0cm / RTIGER

3 stars 4 forks source link

setupJulia: Preferences.jl can only be used on Julia v1.6+! #15

Open isaamael opened 3 months ago

isaamael commented 3 months ago

Dear Developer,

I've been eager to try your exciting package, but the installation process has been frustrating.

Currently, I've completed library("RTIGER") in R, and it looks okay. In Julia, I ran the following steps

ENV["JULIA_PKG_SERVER"] = "https://pkg.julialang.org" #I can't smoothly git clone
versioninfo()
]
registry rm General
registry add General
using Pkg
Pkg.add("Suppressor")
Pkg.add("RCall")
using Suppressor
using RCall

Despite the challenges, everything seemed great up to this point! However, when I tried setupJulia(JULIA_HOME = "my path") in R, some errors occurred. I followed the suggestion to run include("~/R_libs/JuliaCall/julia/setup.jl") in Julia, but same errors recall.

ERROR: LoadError: Preferences.jl can only be used on Julia v1.6+!
...
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.
...
in expression starting at /public/home/xuruiqiang/.julia/packages/RCall/dDAVd/src/RCall.jl:3
ERROR: LoadError: Failed to precompile RCall [6f49c342-dc21-5d91-9882-a32aef131414] to /public/home/xuruiqiang/.julia/compiled/v1.4/RCall/8GFyb_Znzu6.ji.

It seems like RCall might not be compatible with Julia 1.4.0? However, I'm not sure how to install the correct version of RCall. julia-version 1.4.0; R-version 4.3.3 Any help would be greatly appreciated. Also, honestly, am I the only one facing these issues? Have you considered providing a conda or docker version?

Any suggestions, please : (