quarto-dev / quarto-dev/quarto
Running r cells (RCall) does not work in a julia notebook
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 645
- Forks
- 62
- Avg merge
- 17h 42m
- Merged PRs (30d)
- 13
Description
PROBLEM: In a julia notebook (with the julia engine), the "run cell" command sends the cell contents straight into julia, which obviously doesn't work.
POSSIBLE FIX: The extension could wrap the contents with the R"" macro before sending them over.
Related: running julia cells correctly finds the terminal and executes them there. However, r cells just run in the currently active terminal.
VS code extension: 1.122.0 (from Cursor)
quarto 1.7.31
R 4.5.0
julia 1.11.1.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the VS Code extension's run-cell handling for R cells in a Julia notebook and reproduce the behavior with the listed Quarto, R, and Julia versions. Check how Julia cells locate the terminal and how R cells are sent; done means R cells execute through the Julia engine using the RCall context instead of the active terminal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia, r, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100