This is part two of our four part series Part 1: Specifying the correct figure dimension in {knitr}. Part 2: What image format should you use for graphics (this post). Part 3: Including external graphics in your document. Part 4: Setting default {knitr} options. There are (at least) three file formats to choose from: JPEG, PNG and SVG. Attribute JPEG PNG SVG Type Raster Raster Vector Transparency No Yes Yes Animation No No Yes Lossy Yes No Yes Recommended Occasionally Yes Often If you are reading this via a syndication site, be sure to go the original post for updated links.
file type
Recent Posts
- Alt Text in R: Plots, Reports, and Shiny
- How to customise the style of your {shinydashboard} Shiny app
- Network Error Logging - Important Insights
- SatRdays London 2023: Speakers
- Content Security Policy - Why You Need It
- Why should I use R: The Excel R Data Wrangling comparison: Part 1
- Shiny in Production 2023: Workshops
- Work smarter; not harder: COVID-19 processing for the WHO/Europe
- Should I learn Stan?
- February Training Update