Displaying 6 results from an estimated 6 matches for "opts_regex".
2017 Sep 28
2
Searching for Enumerated Items using str_count() from the stringr package
Hi all,
I have a large number of text strings to search for enumerated items.
However, I am receiving this error message even though I thought that I
properly escaped the special character closed parenthesis:
> Count<-str_count(text3,keywords)
Error in stri_count_regex(string, pattern, opts_regex = opts(pattern)) :
Syntax error in regexp pattern. (U_REGEX_RULE_SYNTAX)
===
Here is example code:
text1<-"This is a list:
1) Number 1
2) Etc
3) Etc"
text2<-"This is NOT a list:
Blah, blah, blah
Blah, blah, blah"
text3<-c(text1,text2)
text3
{keywords<-c(pas...
2017 Dec 06
2
FW: R-devel error
...39;.', tangle = TRUE)" > '/tmp/RtmpV1grVw/xshell3e793c7d5258' 2>&1
> ERROR
>
> *** caught segfault ***
> address 0x1, cause 'memory not mapped'
>
> Traceback:
> 1: .Call(C_stri_locate_all_regex, str, pattern, omit_no_match, opts_regex)
> 2: stri_locate_all_regex(string, pattern, omit_no_match = TRUE, opts_regex = opts)
> 3: stringr::str_locate_all(input, inline.code)
> 4: parse_inline(g, patterns)
> 5: FUN(X[[i]], ...)
> 6: lapply(groups, function(g) { block = grepl(chunk.begin, g[1])...
2017 Dec 05
2
FW: R-devel error
I am resubmitting this bug report but with additional information. I am running this with windows 10: w64-mingw32 with R Under development (unstable) (2017-12-04 r73829). I build 'httk' from the command prompt using 'R CMD build httk' after installing the required packages. Then when the vignettes are being created, it crashes. Today I installed the latest versions of Rtools,
2017 Sep 28
0
Searching for Enumerated Items using str_count() from the stringr package
...umber of text strings to search for enumerated items.
> However, I am receiving this error message even though I thought that I
> properly escaped the special character closed parenthesis:
>
>
>> Count<-str_count(text3,keywords)
> Error in stri_count_regex(string, pattern, opts_regex = opts(pattern)) :
> Syntax error in regexp pattern. (U_REGEX_RULE_SYNTAX)
>
>
> ===
>
> Here is example code:
>
>
> text1<-"This is a list:
> 1) Number 1
> 2) Etc
> 3) Etc"
>
> text2<-"This is NOT a list:
> Blah, blah, blah...
2017 Dec 06
0
FW: R-devel error
...-e "tools::buildVignettes(dir = '.', tangle = TRUE)" > '/tmp/RtmpV1grVw/xshell3e793c7d5258' 2>&1
ERROR
*** caught segfault ***
address 0x1, cause 'memory not mapped'
Traceback:
1: .Call(C_stri_locate_all_regex, str, pattern, omit_no_match, opts_regex)
2: stri_locate_all_regex(string, pattern, omit_no_match = TRUE, opts_regex = opts)
3: stringr::str_locate_all(input, inline.code)
4: parse_inline(g, patterns)
5: FUN(X[[i]], ...)
6: lapply(groups, function(g) { block = grepl(chunk.begin, g[1]) if (!set.preamble &&...
2017 Dec 06
0
FW: R-devel error
...; '/tmp/RtmpV1grVw/xshell3e793c7d5258' 2>&1
>> ERROR
>>
>> *** caught segfault ***
>> address 0x1, cause 'memory not mapped'
>>
>> Traceback:
>> 1: .Call(C_stri_locate_all_regex, str, pattern, omit_no_match,
>> opts_regex)
>> 2: stri_locate_all_regex(string, pattern, omit_no_match = TRUE,
>> opts_regex = opts)
>> 3: stringr::str_locate_all(input, inline.code)
>> 4: parse_inline(g, patterns)
>> 5: FUN(X[[i]], ...)
>> 6: lapply(groups, function(g) { block = g...