Closed PaulWik closed 2 years ago
Thanks to some kind help from @bkamins, this issue is because of a mismatch in the versions of DataAPI
and Compat
we had in our system image and the julia environment that JuliaCall created when we called julia_setup
.
I therefore think that what happened was that after the release of DataFrames.jl
when we tried to call julia_setup
in a fresh/clean docker image, it ended up pulling in that latest version of DataFrames.jl
, and this was incompatible with those old versions of DataAPI
and Compat
that we had in the system image, hence the problems and error messages.
Now that I have updated those packages in the system image, the problem has gone away.
Now that I have updated those packages in the system image, the problem has gone away.
Great! I hope the packages serve you well.
We have been using a system image with julia_setup without problem for several months, but it suddenly started failing in our daily pipelines today. Further investigation has revealed that the issue is specific to trying to run with a system image, because we do not get the same problem when we just call
JuliaCall::julia_setup()
(meaning we can load a julia environment for use from inside R and then happily call julia functions that way).It looks like something to do with RCall, and in particular with trying to precompile DataFrames (the latest version of which was released yesterday, which could tie in with our pipelines succeeding yesterday and then failing today).
Do you have any ideas why this would only cause an issue when trying to use a system image? Or any suggestions of things we could try or look at?
Because the problem seemed to relate to RCall, I did try with
useRCall = FALSE
but that didn't solve the problemSession Info
```r R version 4.1.3 (2022-03-10) Platform: x86_64-suse-linux-gnu (64-bit) Running under: openSUSE Leap 15.3 Matrix products: default BLAS/LAPACK: /usr/lib64/openblas-serial/libopenblas.so.0 locale: [1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8 [5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 [7] LC_PAPER=en_GB.UTF-8 LC_NAME=en_GB.UTF-8 [9] LC_ADDRESS=en_GB.UTF-8 LC_TELEPHONE=en_GB.UTF-8 [11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=en_GB.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base ```