Skip to content

Commit 355f79f

Browse files
julia.qmd aktualisieren
Co-authored-by: Charlotte Wickham <[email protected]>
1 parent 2e41fda commit 355f79f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/computations/julia.qmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,9 @@ The `julia` engine uses the [QuartoNotebookRunner.jl](https://github.com/PumasAI
212212

213213
#### Using custom versions of `QuartoNotebookRunner`
214214

215-
In special circumstances, you may not want to use the specific `QuartoNotebookRunner` version that quarto installs for you. One reason could be that you're developing `QuartoNotebookRunner` itself, or you need to use a fork or an unreleased version with a bugfix. In this case, you can run quarto with the environment variable `QUARTO_JULIA_PROJECT` set to a directory of a julia environment that has `QuartoNotebookRunner` installed. As an example, you could install the main branch of `QuartoNotebookRunner` into the directory `/some/dir` by executing `]activate /some/dir` in a julia REPL and then `]add QuartoNotebookRunner#main`. If there is no server process running, yet, after running a command like `QUARTO_JULIA_PROJECT=/some/dir quarto render some_notebook.qmd` in your terminal, the server process should be started using the custom `QuartoNotebookRunner`. You can also set quarto's `--execute-debug` flag and check the output to verify that the custom environment is being used.
215+
In special circumstances, you may not want to use the specific `QuartoNotebookRunner` version that Quarto installs for you. For example, you might be developing `QuartoNotebookRunner` itself, or you need to use a fork or an unreleased version with a bugfix. In this case, set the [environment variable](/docs/projects/environment.qmd) `QUARTO_JULIA_PROJECT` to a directory of a julia environment that has `QuartoNotebookRunner` installed.
216+
217+
As an example, you could install the main branch of `QuartoNotebookRunner` into the directory `/some/dir` by executing `]activate /some/dir` in a julia REPL followed by `]add QuartoNotebookRunner#main`. As long as there is no server currently running, running a command like `QUARTO_JULIA_PROJECT=/some/dir quarto render some_notebook.qmd` in your terminal will ensure the server process is started using the custom `QuartoNotebookRunner`. You can also set `quarto`'s `--execute-debug` flag and check the output to verify that the custom environment is being used.
216218

217219
### Rendering notebooks
218220

0 commit comments

Comments
 (0)