rstudio / rstudio/reticulate

Reticulate does not capture PDF in IPython rich outputs

Open
#281 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
1.8k
Forks
349
Avg merge
5h 13m
Merged PRs (30d)
4

Description

I sometime use IPython's rich outputs to display PDF files (my use case is : pdf versions of plotly graphs generated in python, cf. https://github.com/mwouts/plotly_offline_export).
Unfortunately these are not captured by reticulate. Is this something that could be implemented ?

Attached is an example of such a PDF rich output.
reticulate_pdf.Rnw

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 by reproducing the example in reticulate_pdf.Rnw and inspect how reticulate currently captures IPython rich outputs. Trace the handling of PDF output and determine the expected captured result; done means the supplied PDF example is captured without regressing existing rich-output behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, r
Domain
backend
Issue type
Feature
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.