posit-dev / posit-dev/positron

Reticulate Python output not shown on Windows

Open
#4,580 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area: console bug lang: r os-windows support
Dominant language
TypeScript
Stars
4.3k
Forks
183
Avg merge
1d 11h
Merged PRs (30d)
206

Description

Output from reticulated Python is not shown in the R console on Windows.

For example:

reticulate::py_eval("print('hi')")

Produces the expected hi on Linux and Mac, but not on Windows.

Windows screenshot with no output:
image

Linux screenshot with expected output:
image

First reported in https://github.com/posit-dev/positron/issues/4457#issuecomment-2330262610

Contributor guide

Open the contributing guide

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 by reproducing reticulate::py_eval("print('hi')") in the R console on Windows and compare it with Linux or macOS behavior. Trace the Positron console output path involved in displaying Python output; done means the expected hi appears on Windows as well.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, r
Domain
desktop-dev, developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.