[R-SIG-Mac] Display bug in editor window

Carl Witthoft c@r| @end|ng |rom w|ttho|t@com
Fri Mar 27 13:55:45 CET 2026


I wrote up a very simple function which contained a definition line to 
assign the first 100 000  primes to a vector, to wit

prime1e5 <-  c(2, 3, 5, 7, 11, [... skipped values..], 99929, 99961, 
99971, 99989, 99991)

That's a very long single line of code, and it causes the 
color-assignment processor to wig out.   I know this doesn't really 
matter at all, but just thought I'd mention it.
I think, but haven't narrowed it down, that this bug shows up when the 
length of the line exceeds either 16k or 32k characters.

-- 
Carl Witthoft
personal: carl using witthoft.com
The Witthoft Group, Consulting
https://witthoftgroup.weebly.com/



More information about the R-SIG-Mac mailing list