[R-SIG-Mac] quartz hanging

Stephanie Evert @te|@nML @end|ng |rom co||oc@t|on@@de
Sun Jul 6 17:21:39 CEST 2025


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.

Best,
Stephanie


> On 6 Jul 2025, at 01:54, bill+rsigmac using 8pawexpress.com wrote:
> 
> Thank you for trying it, but you did not execute the reprex completely: 
> you never loaded |kableExtra|. The reprex in-short (I should have 
> included it this way the first time):
> 
> |plot(1:2) # or ggplot(mtcars, aes(mpg, disp)) + geom_point() # with the 
> quartz window active, press Cmd-P, no fail library(kableExtra) # with 
> the quartz window active, press Cmd-P, fail |
> 


	[[alternative HTML version deleted]]



More information about the R-SIG-Mac mailing list