[R-SIG-Mac] quartz hanging
biii+rsigm@c m@iii@g oii 8p@wexpress@com
biii+rsigm@c m@iii@g oii 8p@wexpress@com
Sun Jul 6 19:08:57 CEST 2025
On 7/6/25 11:21, Stephanie Evert wrote:
> I hope this is more readable as a regexp (for me your |-delimited
> blocks show up as a single line of text so it's very difficult to
> figure out which commands I'm supposed to execute).
>
> plot(1:2)
> # press Cmd-P in quartz window → works
> library(kableExtra)
> # press Cmd-P in quartz window → error, hangs, options(error=browser)
> doesn't help
>
> The first lines were just intended to show that kableExtra is actually
> the culprit – which is not quite true. The real cause of the error
> seems to be the xml2 package imported by kableExtra. I get the same
> problem with this sequence
>
> library(xml2)
> plot(1:2)
> # press Cmd-P in quartz window → error, hangs, options(error=browser)
> doesn't help
> I have reproduced this on MacBook M1Max, macOS Sonoma 14.7.6, R
> 4.5.1 RC (2025-06-05 r88292) in a command-line session, so no
> Emacs/ESS involved.
Thank you for verifying and digging deeper! I was making no assumption
(yet) that kableExtra was the clear problem; while it does import
grDevices and graphics, I wouldn’t expect a simple import to do it.
Having said that, xml2 imports neither package directly. In fact,
loading each of xml2’s imports does not trigger the error, so that
suggests it’s either in xml2’s “./src/*“ files or linking against libxml2.
I apologize for the formatting issue. I use Markdown Here Revival for
Thunderbird/Betterbird so that I can type in markdown and have it
rendered into HTML. It surprises me only a little that the stripped-out
html leaves a bit to be desired.
Bill
[[alternative HTML version deleted]]
More information about the R-SIG-Mac
mailing list