BTW, Sys.setenv() is not "system-wide", it only alters environment of your current process and its future children.
Sys.setenv()
Ah thanks for the precision, you're right of course, but in this case julia is a child of my R process as as far as I can tell...