search for: str_locate

Displaying 4 results from an estimated 4 matches for "str_locate".

2011 Jul 01
0
stringr 0.5
...ions with useful functions from other programming languages. stringr 0.5 =========== * new `str_wrap` function which gives `strwrap` output in a more convenient format * new `word` function extract words from a string given user defined separator (thanks to suggestion by David Cooper) * `str_locate` now returns consistent type when matching empty string (thanks to Stavros Macrakis) * new `str_count` counts number of matches in a string. * `str_pad` and `str_trim` receive performance tweaks - for large vectors this should give at least a two order of magnitude speed up * str_length retu...
2011 Jul 01
0
stringr 0.5
...ions with useful functions from other programming languages. stringr 0.5 =========== * new `str_wrap` function which gives `strwrap` output in a more convenient format * new `word` function extract words from a string given user defined separator (thanks to suggestion by David Cooper) * `str_locate` now returns consistent type when matching empty string (thanks to Stavros Macrakis) * new `str_count` counts number of matches in a string. * `str_pad` and `str_trim` receive performance tweaks - for large vectors this should give at least a two order of magnitude speed up * str_length retu...
2011 Sep 19
2
text matching
Hi All, I have a character vector by name tickers > head(tickers,10) V1 1 ADARSHPL.BO 2 AGR.V 3 AGU 4 AGU.TO 5 AIMCO.BO 6 ALUFLUOR.BO 7 AMZ.V 8 AVD 9 ANILPROD.BO 10 ARIES.BO I would like to extract all elements that has ".BO" in it. I tried > grep("\.BO",tickers) Error: '\.' is an unrecognized
2013 Apr 22
1
Print occurrence / positions of words
...post which i came across here was http://r.789695.n4.nabble.com/Memory-usage-in-R-grows-considerably-while-calculating-word-frequencies-td4644053.html?. However it doesnt include the positions of each words. >A similar function which i found through the documentation i guess it's the "str_locate", however i want to count "words" and not "characters". >Any guidance of what packages / techniques to use on that, would be really appreciated >Thank you.