`grDevices::dev.capabilities()` enhancements
-
dev.capabilities()could also be used to query whether the current graphics device supports Unicode. In such a case I'd expect it to returnFALSEifpdf()is the current graphics device and something else for the Cairo or Quartz devices.- https://stat.ethz.ch/pipermail/r-devel/2023-August/082845.html
- A function that is my workaround for now
-
Add "Idle" as possible "event" in
dev.capabilities("events"):- https://stat.ethz.ch/pipermail/r-devel/2022-April/081663.html
- {eventloop} is an example package that needs to know the current graphics device supports the "Idle" event
Add "Idle" as possible "event" in dev.capabilities("events")
This improvement was incorporated into R 4.4.3.
Add "Idle" as possible "event" in dev.capabilities("events")
This improvement was incorporated into R 4.3.3.
Thanks for getting this implemented and this follow up. I think you meant R 4.4.3 here; from https://cran.r-project.org/doc/manuals/r-release/NEWS.html
CHANGES IN R 4.4.3
dev.capabilities()$eventsnow reports"Idle"if the device provides it, fixing PR#18836, thanks to Trevor Davis.