quarto-dev / quarto-dev/quarto
VSCode: unable to access python objects in r through reticulate::py
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 645
- Forks
- 62
- Avg merge
- 17h 42m
- Merged PRs (30d)
- 13
Description
When editing a Python/R qmd file in VSCode I can execute R and Python blocks but I cannot use reticulate to access objects made in Python.
Calling py$python_object returns empty and there are no matches after pressing tab in the repl. Seems like the contents from Python cells are not being exposed to calls from R cells?
The appropriate Python environment is activated in vscode and the same document works in RStudio.
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
Reproduce the issue in a Python/R qmd file opened in VSCode, using reticulate::py$python_object and tab completion after running a Python block. Compare the same document in RStudio; done means Python objects are available from R cells and appear in the repl completion results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, r, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100