I'm all set! My problem seems to have been a mixture of two things:
1. As Paul pointed out I needed to upgrade Cairo to get support for the new GE
v13 (setMask, etc.). That support is apparently present in 1.5-12.2 (the
current version on CRAN).
2. I was getting Cairo from https://github.com/s-
Hi
The Cairo_1.5-12.2.tar.gz sources on CRAN contain the changes. It looks
like they have still not been merged back into the main package sources
on R Forge (cc'ing the package maintainer as a gentle reminder).
I think the Cairo package NEWS file should say 4.1.0 rather than 4.0.0
Paul
On
Thanks! AFAICT I am already using the latest version of Cairo, but these links
gives me a ton of leads to follow up.
One question (which may be better directed at the maintainer of Cairo): exactly
which version (or commit) of Cairo implements support for the new setMask API?
CRAN still points t
Hi
dev->setMask() was introduced in R 4.1.0 ...
https://developer.r-project.org/Blog/public/2020/07/15/new-features-in-the-r-graphics-engine/
https://www.stat.auckland.ac.nz/~paul/Reports/GraphicsEngine/definitions/definitions.html
If your application is using its own custom graphics device, i
Thank you! Here is the output of option("devices"), which I think means we're
using Cairo:
$device
function (width = 1280, height = 960, pointsize = 24, units = "px",
bg = "white", dpi = 160, ...)
{
devSym <- basename(tempfile(pattern = "SensePlot", tmpdir = ""))
Hello,
Which graphic device (backend) do you use?
The setMask() function calls the internal setMask function associated to the
graphic device.
If the Web application uses one of the standard graphic backend, the bug may
come from the R core. If it uses a custom graphic backend, the bug may be in
I have inherited a build of R. We compile R from source and then use a custom
web application to allow users to enter R statements and render the output (it's
kind of like RStudio although the UX is quite different).
Things were going fine until I tried to upgrade to R 4.1.x. The build succeeds,
b