7

I want to resize ggplot graph in Rnotebook.

enter image description here

It's too big it doesn't show anything like above. When I export it and increase the size about 4 times bigger, then it shows the details.

I've attempted the followings: set_plot_options fig.height, fig.width

to resize the graph but it didn't apply.

Please share if you have knowledge of how to resize plots.

tmhs
  • 998
  • 2
  • 14
  • 27

1 Answers1

17

Your chunk should start with something like:

{r, fig.width = 12, fig.height = 12}

Jacob
  • 3,437
  • 3
  • 18
  • 31
  • 1
    The numbers are [in inches..](https://support.rstudio.com/hc/en-us/community/posts/213106048/comments/115003165368) – Tapper Mar 25 '19 at 21:01