mwtoews at sfu.ca
2007-Jul-04 06:52 UTC
[Rd] editing pasted text from parameter list through rcompletion crashes R in Windows (PR#9775)
Full_Name: Michael Toews Version: R 2.5.1 OS: WinXP; SP2 Submission from: (NULL) (142.58.206.114) To reproduce this crash: 1. Start a new R session normally in Windows 2. Type (an example command): "boxplot(" without pressing enter 3. Copy this text: "c(1,2,6,4,7,3)" 4. Bring Rgui.exe back in focus, and hit "Tab" twice to activate the parameter list (you should see "x= ...= range= width=" etc.) 4. Paste the text, then press the backspace key, *crash* There several other variations to crash R similarly, such as pressing the left-key to edit the pasted text while rcompletion is showing the parameter list. Present behaviour for rcompletion is to remove the parameter list from the console after typing has started; however, this list is not removed if text is pasted, which appears to crash R if the cursor moves backwards (buffer problems?). Version: platform = i386-pc-mingw32 arch = i386 os = mingw32 system = i386, mingw32 status = major = 2 minor = 5.1 year = 2007 month = 06 day = 27 svn rev = 42083 language = R version.string = R version 2.5.1 (2007-06-27) Windows XP (build 2600) Service Pack 2.0 Locale: LC_COLLATE=English_Canada.1252;LC_CTYPE=English_Canada.1252;LC_MONETARY=English_Canada.1252;LC_NUMERIC=C;LC_TIME=English_Canada.1252 Search Path: .GlobalEnv, package:stats, package:graphics, package:grDevices, package:utils, package:datasets, package:methods, Autoloads, package:base