TRE library has
recently been made, but I don't know about its status.
Daniel
Von: R-devel im Auftrag von Tomas Kalibera
Gesendet: Donnerstag, 17. August 2017 10:14
An: r-devel@r-project.org
Betreff: Re: [Rd] Problem with a regular expression.
on: R-devel im Auftrag von Tomas Kalibera
Gesendet: Donnerstag, 17. August 2017 10:14
An: r-devel@r-project.org
Betreff: Re: [Rd] Problem with a regular expression.
The problem is in TRE library, in regcomp, while compiling the regular
expression.
This is enough to trigger in R (to do this witho
hris Triggs ; "r-devel@r-project.org"
Cc: Thomas Lumley
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("
ugust 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, &quo
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 f
FWIW, I tried it on my linux box. The memory use shot through the roof, the
system crawled to a halt due to constant swapping, and after a minute or so
top showed memory use of 47GB, at which point I killed the R process. On
linux at least R is not frozen but the strsplit call gobbles up memory (an
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"