Hello,
We’re receiving reports of extremely slow rendering by users who are using the
new geom_sf() feature in ggplot2. Importantly, this seems to be a graphics
device issue, because the exact same plot takes vastly different amounts of
time to render under different devices. We’re talking abou
Paul,
Subassignment for units has been committed to r-devel.
You should now be able to do things like ...
x <- unit(1:3, "mm")
x[2] <- unit(.5, "npc")
(see grid/tests/units.R for more complex examples)
Yes, I just tried the latest R devel and it works for me. However:
This works for me for the
Hello,
certain manipulations of ggplot2 graphs, in particular aligning them, require
the function grid:::unit.list(). See e.g. these posts on stackoverflow:
http://stackoverflow.com/questions/34032621/element-replacement-in-grid-unit-vector
http://stackoverflow.com/questions/32580946/setting-abso