Replies: 4 comments 4 replies
-
Thanks for the question! I don't believe we have such an option right now. I'm going to transfer this to a github issue and we'll take it from there. |
Beta Was this translation helpful? Give feedback.
-
@tbeason In my experience the evaluation of the Julia code blocks does use the local execute-dir: project in my _quarto.yml file which, I think, means that jupyter will be started in the project directory and the underlying Julia process will use the local (BTW, the option |
Beta Was this translation helpful? Give feedback.
-
I think I could use some help determining how the current behavior deviates from what would be ideal. In my current testing it looks like IJulia is automatically activating the environment associated with a This is what I am seeing with Julia 1.7 and a recently installed version of IJulia. Pls advise whether others are observing this same behavior and whether this is how things ought to work. |
Beta Was this translation helpful? Give feedback.
-
The Julia project path may be specified by the environment variable Environment variables available at code block execution can be set in an |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
There is some discussion on the Quarto guide about how to use various environments from R or Python. Right now, it seems that in order to use Julia code blocks I must keep any packages that I want to use in my global/default environment, rather than project specific ones. In Julia, this done by having a
Project.toml
file for the project (and perhaps aManifest.toml
also but not always needed).When starting Julia you can call
julia --project=Project.toml
if it is in the current directory or you can start Julia normally and from the REPL type]
and thenactivate .
or you can write
I know that the last option would work if I added it to a (each?) code block, but is there a way to just add something to the
quarto.yml
file instead to use aProject.toml
file for the whole project?Beta Was this translation helpful? Give feedback.
All reactions