Skip to content
Discussion options

You must be logged in to vote

On additional note, Quarto supports knitr to run the R chunks and R / knitr ecosystem have tools for multi language, like JuliaCall

So when using R with Quarto doc, you can use JuliaCall engine to run some Julia, then use a R chunk to retrieve some Julia variable, and possibly pass it to OJS using ojs_define.

This is using all knitr computation engine from Quarto perspective. This gave me the opportunity to test it quickly. Here is an example which requires R, JuliaCall R package, a Julia installation on PATH.

---
title: Julia R and Observable
format: html
engine: knitr
---

R chunk with value passed to OJS
```{r}
a <- 1
a
ojs_define(a = a)
```

Julia chunk that will be executed with Juli…

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
2 replies
@karimn
Comment options

@cscheid
Comment options

Comment options

You must be logged in to vote
7 replies
@cderv
Comment options

@karimn
Comment options

@cderv
Comment options

@cscheid
Comment options

@cderv
Comment options

Answer selected by cderv
Comment options

You must be logged in to vote
3 replies
@cderv
Comment options

@marcobonici
Comment options

@cderv
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
ojs-engine Issues with the ojs engine julia computations
5 participants