Skip to content

Instantly share code, notes, and snippets.

@dgkeyes
Last active April 26, 2019 16:43
Show Gist options
  • Save dgkeyes/7af26ec3cfadeafc5cf47e2048318dab to your computer and use it in GitHub Desktop.
Save dgkeyes/7af26ec3cfadeafc5cf47e2048318dab to your computer and use it in GitHub Desktop.
save plots solutions
# Save Plots
Save your last plot to a PNG that is 8 inches wide and 5 inches high. Put it in the plots directory and call it "my-sleep-plot.png"
```{r}
ggsave(filename = "plots/my-sleep-plot.png",
height = 5,
width = 8,
unit = "in")
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment