Contents

Julia in R markdown

Running Julia code chunks in R markdown.

Install Julia binding in the terminal

1
install.packages("JuliaCall")

Using Julia runtime in R markdown

1
2
3
4
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library(JuliaCall)
```

And you can add executable code chunks in your R markdown report.

1
2
3
```{julia}
a = sqrt(2);  # the semicolon inhibits printing
```

Resources