mtt2108 at columbia.edu
2008-Jul-02 14:05 UTC
[Rd] Data editor duplicates pairs of backslashes (PR#11897)
Full_Name: Magnus Torfason Version: 2.7.0 OS: Windows Vista Submission from: (NULL) (128.59.140.167) Each time a string is edited in the data editor (on Windows at least), any pairs of backslashes (an escaped backslash) are duplicated on each edit of the string. Note that one must actually double click the value for the bug to show up. Behavior/Replication:> # Create data frame > d=data.frame(a="\\") > # Edit data frame, and while editing, double click > # value several times to edit (selecting something > # different between each doubleclick) > d=edit(d) > da 1 \\\\\\\\\\\\\\\\
Duncan Murdoch
2008-Jul-02 16:59 UTC
[Rd] Data editor duplicates pairs of backslashes (PR#11897)
On 7/2/2008 10:05 AM, mtt2108 at columbia.edu wrote:> Full_Name: Magnus Torfason > Version: 2.7.0 > OS: Windows Vista > Submission from: (NULL) (128.59.140.167) > > > Each time a string is edited in the data editor (on Windows at least), any pairs > of backslashes (an escaped backslash) are duplicated on each edit of the string. > Note that one must actually double click the value for the bug to show up. > > Behavior/Replication: > >> # Create data frame >> d=data.frame(a="\\") >> # Edit data frame, and while editing, double click >> # value several times to edit (selecting something >> # different between each doubleclick) >> d=edit(d) >> d > a > 1 \\\\\\\\\\\\\\\\Thanks for the report, I can reproduce it in 2.7.1 and R-devel, on Linux as well as Windows. I think we really do want the double backslash to be displayed, so that what you are working on in the editor can contain escape sequences; the bug is that they are being treated literally after the edit. I'll see if I can fix it. Duncan Murdoch
Possibly Parallel Threads
- Creating a list of empty lists
- IPv6 Resolver (or: Slow rendering of Webpages using Konqueror)
- Using ODBC/RODBC with DBI
- Gnome-terminal's backslashes look like Ws with a horizontal line through -- how to get a backslash?
- gsub: replacing double backslashes with single backslash