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.