Hi, I occasionally get the following error message when folding/unfolding code in the R GUI (not RStudio) for Mac. I haven't been able to narrow down how to get it to happen consistently, but I see it a lot when folding/unfolding functions I have placed consecutively at the beginning of my script. The huge index number listed is the same every time. Also, I'm not sure if this is related, but whenever I fold up a section of code, it'll "eat" the first non-whitespace character *after* the last bracket. It doesn't affect the code at all, but the character gets folded up with the rest.
2021-11-16 18:55:30.849 R[25042:5539797] *** RController: caught ObjC > exception while processing system events. Update to the latest GUI version > and consider reporting this properly (see FAQ) if it persists and is not > known. > *** reason: *** -[__NSArrayM objectAtIndex:]: index 18446744073709551615 > beyond bounds [0 .. 555] > *** name: NSRangeException, info: (null) > *** Version: R 4.1.2 (81115) R.app R 4.1.2 GUI 1.77 High Sierra build > Consider saving your work soon in case this develops into a problem. > -- Matt Loman [[alternative HTML version deleted]] _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac