Maximum number of patterns and speed in grep
On Fri, Jul 13, 2012 at 9:40 AM, mdvaan <mathijsdevaan at gmail.com> wrote:
Thanks, I see that it is working in the sample data. My data, however, gives
me an error message:
data <- strapplyc(text, batch[[l]])
Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class =
"tclObj") :
[tcl] couldn't compile regular expression pattern: parentheses () not
balanced.
batch[[l]] is similar to your "re" string except that there is a larger
variety of characters. I haven't been able to figure out which characters
are causing trouble here. Any thoughts?
Thank you very much.
Math
...
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Note part on last line about posting reproducible code.
Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com