quarto-dev / quarto-dev/quarto

quarto doc does not finish rendering when r and julia chunks are used (RStudio & VSCode)

Open
#239 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

RStudio

I am trying to run R and Julia in the same quarto document. In RStudio, I see that the julia chunk is not runnable (no 'play' button) in the following quarto doc:

---
title: "Untitled"
format: html
---

```{r}
1+1
```

```{julia}
using DataFrames
```

I have JuliaCall package installed and julia 1.9.2 is in my system path (REPL runs outside RStudio). My R version is 4.3.1 and quarto version is 1.3.450. I am on Windows 10.

When I try to render quarto, the server keeps running but the document never renders. It seems to be stuck at chunk 2 that contains julia code. I understand that it is calling JuliaCall behind the scenes. But I don't see any result.

processing file: test.qmd
1/5                  
2/5 [unnamed-chunk-1]
3/5                  
4/5 [unnamed-chunk-2]
Julia version 1.9.2 at location C:\Users\USERNAME\AppData\Local\Programs\JULIA-~1.2\bin will be used.
Loading setup script for JuliaCall...

VSCode

VSCode does allow me running the julia chunk using the 'play' button. But it also gets stuck at Loading setup script for JuliaCall... when I try to render the test.qmd.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the minimal test.qmd example and render it in both RStudio and VSCode, focusing on the JuliaCall setup stage where processing stops at “Loading setup script for JuliaCall...”. Done means the mixed R and Julia document finishes rendering in both environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, r
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.