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 escape in character string starting "\."
 
> grep(".BO",tickers)
[1] 1

Could any one please guide me on this. Many thanks for the help
 
Best Regards,
 
Krishna

	[[alternative HTML version deleted]]

