Skip to content
Prev 398128 / 398506 Next

julia-setup not working with R 4.5.1 and Julia 1.11.6

My operating system is Ubuntu 24.04.

To ensure I had the most recent version of the R package ?JuliaCall?, I
installed ?JuliaCall? from github as follows:

devtools::install_github(?JuliaInterop/JuliaCall?)

The problem is that running julia_setup() produces a segmentation fault.
For example:

library(JuliaCall)
julia_setup(rebuild=TRUE)
Julia version 1.11.6 at location
/home/robert/.julia/juliaup/julia-1.11.6+0.x64.linux.gnu/bin will be used.
Loading setup script for JuliaCall?
Finish loading setup script for JuliaCall.
Segmentation fault (core dumped)

Any help is much appreciated.

Previously, I had installed R package "JuliaCall" from the CRAN repository,
but I obtained the same segmentation fault error.