Open edwardlavender opened 1 month ago
See here https://github.com/Non-Contradiction/JuliaCall/issues/193#issuecomment-2259955184 for a work around on Windows. Either set JULIA_NUM_THREADS
from CMD (as an administrator) and launch R/RStudio from the same CMD session or modify the JULIA_NUM_THREADS
environment variable globally.
In R/RStudio, you can then run:
library(patter)
julia_connect()
in the usual way and the Julia process will be started with JULIA_NUM_THREADS.
On Windows, setting threads via
.threads
injulia_connect()
or viaJULIA_NUM_THREADS
does not work.See also: https://github.com/Non-Contradiction/JuliaCall/issues/193