[Rd] Quartz graphic device can be extremely slow in some cases

2018-05-29 Thread Wilke, Claus O
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

Re: [Rd] Could unit.list() from grid package be made an exported function?

2016-03-08 Thread Wilke, Claus O
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

[Rd] Could unit.list() from grid package be made an exported function?

2016-03-06 Thread Wilke, Claus O
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