Displaying 5 results from an estimated 5 matches for "oldterm".
2017 Aug 16
3
Problem with a regular expression.
Hi...
I have come upon a problem with a regular expression which causes base-R to freeze. I have reproduced the phenomenon on several machines running R under Windows 10, and also under OSX on different Apple MACs.
The minimal example is:-
Oldterm is a vector of characters, e.g. "A", "B", "A", "*", "B"
The regular expression is "\\\\)"
The call which freezes R is
strsplit(Oldterm, "\\\\)" )
Thomas - after he had reproduced the problem - suggested that I submit it to r-de...
2017 Aug 17
2
Problem with a regular expression.
...g" <r-devel at r-project.org>
Cc: Thomas Lumley <t.lumley at auckland.ac.nz>
Sent: Thursday, 17 August 2017, 17:26
Subject: Re: [Rd] Problem with a regular expression.
Hello,
This seems to be serious.
RGui.exe, fresh session. I've clicked File > New Script and wrote
Oldterm <- c("A", "B", "A", "*", "B")
strsplit(Oldterm, "\\\\)" )
Ran each instruction at a time with Ctrl+r and with the strsplit call
the system froze.
Ctrl+Alt+Del didn't work, I had to go for the power switch button.
sessionInfo()
R...
2017 Aug 17
1
Problem with a regular expression.
...Cc: Thomas Lumley <t.lumley at auckland.ac.nz>
> Sent: Thursday, 17 August 2017, 17:26
> Subject: Re: [Rd] Problem with a regular expression.
>
> Hello,
>
> This seems to be serious.
> RGui.exe, fresh session. I've clicked File > New Script and wrote
>
> Oldterm <- c("A", "B", "A", "*", "B")
> strsplit(Oldterm, "\\\\)" )
>
> Ran each instruction at a time with Ctrl+r and with the strsplit call
> the system froze.
>
> Ctrl+Alt+Del didn't work, I had to go for the power swit...
2017 Aug 17
0
Problem with a regular expression.
Hello,
This seems to be serious.
RGui.exe, fresh session. I've clicked File > New Script and wrote
Oldterm <- c("A", "B", "A", "*", "B")
strsplit(Oldterm, "\\\\)" )
Ran each instruction at a time with Ctrl+r and with the strsplit call
the system froze.
Ctrl+Alt+Del didn't work, I had to go for the power switch button.
sessionInfo()
R...
2017 Aug 17
0
Problem with a regular expression.
...Thomas Lumley <t.lumley at auckland.ac.nz>
> Sent: Thursday, 17 August 2017, 17:26
> Subject: Re: [Rd] Problem with a regular expression.
>
> Hello,
>
> This seems to be serious.
> RGui.exe, fresh session. I've clicked File > New Script and wrote
>
> Oldterm <- c("A", "B", "A", "*", "B")
> strsplit(Oldterm, "\\\\)" )
>
> Ran each instruction at a time with Ctrl+r and with the strsplit call
> the system froze.
>
> Ctrl+Alt+Del didn't work, I had to go for the power swit...