-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Hey all together,
I figured that the latest ggplot release breaks my workflows, although I'm not sure what I do is intended or a _hack_🙈.
So, my idea was to have a bunch of .R
files in my directory, which handle data wrangling and plotting. The plots were then save as .RDS
or .RData
files and in my report.qmd
I would call the plots using either load()
or readRDS()
. They would then be available as ggplot objects and I could still add new layers to tailor the plot for the next presentation.
However, after upgrading to ggplot 4.0.0, all I get is:
$data
...
$layers
...
$scales
...
...
Could this be related to this change?
ggsave() now returns the saved file location invisibly (#3379, @eliocamp). Note that, as a side effect, an unofficial hack + ggsave() no longer works (#4513).
As I said, I'm not sure if my workflow is actually intended but it turned out to be very helpful.