-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
I used to "add" ggsave("something.png") to a ggplot object but this has stopped working after version 3.3.3. In case it's been decided that this "feature" wasn't a good idea and the removal was on purpose, please better document that change (even if the possibility to do + ggsave() wasn't documented before; I think many people used it because it might the pipes very elegant).
In short, this worked on 3.3.3:
library(ggplot2)
data.frame(a = rnorm(100), b = rnorm(100)) |>
ggplot(aes(a, b)) +
ggsave("temp.png")
But throws this error on 3.3.4:
Error: Can't add `ggsave("temp.png")` to a ggplot object.
taiyodayo, DSLituiev and ryandward
Metadata
Metadata
Assignees
Labels
No labels