Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Provide a mechanism to display PDF content in viewer window. #297

Open
warnes opened this issue Mar 22, 2024 · 3 comments

Comments

@warnes
Copy link

warnes commented Mar 22, 2024

RStudio can display the PDF file generated from markdown/quarto documents in the "Viewer" window, but does not appear to provide a mechanism to do so for other PDF files.

I would like to be able display existing PDF files, or files that I have created programmatically in R, within the Rstudio "Viewer" window.

Please provide a mechanisem, perhaps vie rstudioapi::viewer() to render PDFS in the "Viewer" window.

@jthomasmock
Copy link

Quarto render does render and then open newly created PDFs in the RStudio Viewer, but I do see that rstudioapi::viewer() opens in the system viewer.

Are you using Quarto or RMarkdown or wanting to open arbitrary PDF files?

@warnes
Copy link
Author

warnes commented May 15, 2024

Are you using Quarto or RMarkdown or wanting to open arbitrary PDF files?

Yes to all three. I have legacy RMarkdown, as well as Quarto files, I also create PDFs from HTML generated from both of these, finally I have PDFs generated elsewhere that I need to view.

@jlang-311
Copy link

@warnes thank you so much for this feature suggestion we will review this request in our future release planning to see how we could implement something like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants