I've been working to embed a pdf from a local drive into a shiny app. The .pdf file is in the www folder and it has been embedded into an iframe.
The code for the UI is
tabPanel("How This Model Was Generated",
tags$iframe(height="1000px",
width="100%",
scrolling=T,
src="Win Prob Explanation.pdf")
)
The iframe is the right size, the .pdf is importing into the webApp, and it deploys fine. Those aren't the problem. The problem is that it looks like this: iframe image I can zoom in and it reads completely fine, so it's not the image/.pdf quality.