Open jefshe opened 6 years ago
ggmap()
returns a ggplot object. By default, ggplot()
keeps a reference to the environment where it was called. When serialized, the environment may be very large. @dkahle It might be possible to use ggplot(..., environment = emptyenv())
to mitigate this.
I've noticed serializing simple plots e.g.
Leads to very large R objects > 140MB
This can make it quite annoying when transferring these objects over a network. What causes such crazy sizes?