Skip to content

Commit

Permalink
Include code chunks.
Browse files Browse the repository at this point in the history
  • Loading branch information
DiabbZegpi committed Apr 19, 2020
1 parent 3c272d5 commit efd4bd3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,16 @@ In the past, copying plots from RStudio Plots pane to some document was a pain i

Here's what I mean

![](https://github.com/DiabbZegpi/ggsave/blob/master/images/iris_default.png)
```r
ggsave(filename = "images/iris_default.png", plot = p,
height = 5, width = 7, units = "in", dpi = 500)
```

![](https://github.com/DiabbZegpi/ggsave/blob/master/images/iris_default.png "Default PNG engine")

```r
ggsave(filename = "images/iris_default.png", plot = q,
height = 5, width = 7, units = "in", dpi = 500, type = "cairo")
```

![](https://github.com/DiabbZegpi/ggsave/blob/master/images/iris_cairo.png "Cairo's engine")
Binary file modified images/iris_default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit efd4bd3

Please sign in to comment.