Bug 15689 - Received an Obj-C error NSRangeException in Mac GUI editor
Summary: Received an Obj-C error NSRangeException in Mac GUI editor
Status: NEW
Alias: None
Product: R
Classification: Unclassified
Component: Mac GUI / Mac specific (show other bugs)
Version: R 3.0.2
Hardware: x86_64/x64/amd64 (64-bit) OS X Mavericks
: P5 normal
Assignee: Simon Urbanek
Depends on:
Reported: 2014-02-25 18:39 UTC by joey reid
Modified: 2014-02-25 18:42 UTC (History)
0 users

See Also:

R and Obj-C error messages. (9.04 KB, text/plain)
2014-02-25 18:39 UTC, joey reid

Note You need to log in before you can comment on or make changes to this bug.
Description joey reid 2014-02-25 18:39:20 UTC
Created attachment 1572 [details]
R and Obj-C error messages.

See the attached file for full details. I clicked on an editor window to add a new line and code and received the error. The remainder of the editor window when blank, and after typing cmd-Z to undo the new-line I had entered the text returned. I saved my work, but was unable to continue editing in that editor window for the remainder of the session. The problem reoccurred while scrolling through another editor window in the same session.
Comment 1 joey reid 2014-02-25 18:42:00 UTC
Received this additional message when trying to quit R using quit():
2014-02-25 12:40:44.058 R[26390:707] *** run_REngineRmainloop: exception -[RScriptEditorLayoutManager _fillLayoutHoleForCharacterRange:desiredNumberOfLines:isSoft:] *** attempted layout while textStorage is editing.  It is not valid to cause the layoutManager to do layout while the textStorage is editing (ie the textStorage has been sent a beginEditing message without a matching endEditing.) caught during REPL iteration. Update to the latest GUI version and consider reporting this properly (see FAQ) if it persists and is not known.
Consider saving your work soon in case this develops into a problem.