begin
a = 5
b = 2
c = a ^ b
c
end25
In which I find a solution to run Julia code while rendering Quarto documents, not by some magical config-foo, but by switching from RStudio to VS Code.
July 9, 2025
Repeated attempts to follow the setup process for setting up the Julia engine and running / rendering Julia code blocks in Quarto failed.
[...]
BENVOLIO
At this same ancient feast of Capulet's
Sups the fair Rosaline whom thou so lovest,
With all the admired beauties of Verona:
Go thither; and, with unattainted eye,
Compare her face with some that I shall show,
And I will make thee think thy swan a crow.
Romeo and Juliet – William Shakespeare1
A final attempt – without any logical reasoning – was to use VS code instead of RStudio for rendering, which can work with quarto via the official Quarto extension. And behold:
It just works, without any issue. Let’s check some more complex code and print some points!
On the first render, it took quite some time to install and precompile the CairoMakie package, but after that the implementation is quite okay. I’m glad, this works now – this will make future posts much easier.
The Complete Works of William Shakespeare, https://shakespeare.mit.edu↩︎
@misc{gebhard2025,
author = {Gebhard, Christian},
title = {Of {Crows} and {Swans}},
date = {2025-07-09},
url = {https://christiangebhard.com/posts/2025-07-09-julia-CO-03/},
langid = {en}
}