JuliaInterop / JuliaCall

Embed Julia in R
https://non-contradiction.github.io/JuliaCall/index.html
Other
267 stars 36 forks source link

julia_setup() hanging after message on "Loading setup script" on Windows 10, R 4.3.1, Julia 1.9.2 #206

Open durraniu opened 1 year ago

durraniu commented 1 year ago

I have JuliaCall package installed and julia 1.9.2 is in my system path (REPL runs outside RStudio). My R version is 4.3.1 I am on Windows 10.

With julia_setup(), I get the following message and then it just hangs.

    Julia version 1.9.2 at location C:\Users\USERNAME\AppData\Local\Programs\JULIA-~1.2\bin will be used.
    Loading setup script for JuliaCall...

I tried with the development version, but that did not work either. I know there was a previous similar issue but it was not on Windows.

frankiethull commented 1 year ago

@durraniu - how long did it get hung up for? I thought there might be an error as well, but after 5-10 minutes staring at "Loading setup script for JuliaCall..." it finished. My setup is similar to yours, with a newer version of Julia.

Loading setup script for JuliaCall...
Finish loading setup script for JuliaCall.

Julia version 1.9.3 JuliaCall_0.17.5

R version 4.3.1 (2023-06-16 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19045)

durraniu commented 1 year ago

I waited for about 18 minutes with no change. But I'll try after updating both julia and the package. Thanks.

bschneidr commented 10 months ago

I waited for 20 minutes and gave up after that. Right now this bug makes Julia unusable in Quarto for me.

alex-rand commented 10 months ago

I am also having this problem

renanmarks commented 9 months ago

Same here. Calling julia_setup() crashes the R server every time.

fkohrt commented 7 months ago

Also having this problem in the Posit Cloud when running JuliaCall::julia_setup()