Re: [R] non alphabetical strings

2019-04-28 Thread Rui Barradas
Hello, There is a typo, the end colon is missing. grepl(x, '[^[:alpha:]]') Hope this helps, Rui Barradas Às 21:26 de 28/04/19, Jeff Newmiller escreveu: Use pattern "[^[:alpha]]" with grepl. On April 28, 2019 12:50:37 PM PDT, Bert Gunter wrote: ?grepl gives you a logical vector for index

Re: [R] non alphabetical strings

2019-04-28 Thread Jeff Newmiller
Use pattern "[^[:alpha]]" with grepl. On April 28, 2019 12:50:37 PM PDT, Bert Gunter wrote: >?grepl > >gives you a logical vector for indexing. > > >Bert Gunter > >"The trouble with having an open mind is that people keep coming along >and >sticking things into it." >-- Opus (aka Berkeley Breathe

Re: [R] non alphabetical strings

2019-04-28 Thread Bert Gunter
?grepl gives you a logical vector for indexing. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sun, Apr 28, 2019 at 11:54 AM Graeme Davidson < graeme.r.david

[R] non alphabetical strings

2019-04-28 Thread Graeme Davidson
Hello All, I can’t find the answer for this so I thought I would ask you lovely people. I have a data frame with a column of names, some of which have non-alphabetical letters. How, do I extract the row indexes which do not meat the criteria of alphabetical [[:alpha:]]. Thanks in advance Al