Change R Markdown plot width

plot, r, r-markdown

Solution

See this SO answer for how to specify these details in chunks.

To set global chunk options, use `opts_chunk$set(out.width='750px', dpi=200)` inside your first chunk. See this page on chunk options for more.

Problem

I'm starting working with R Markdown and I'm not understanding how to generate bigger plots. With today screens the plots can be much bigger. How do I control the plots width/heigh in a Markdown report? Thanks for the help.

Original source

Related problems