quarto-dev / quarto-dev/quarto

Running r cells (RCall) does not work in a julia notebook

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

Nobody has claimed this yet.

enhancement
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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.