I have a vector of character data. Most of the elements in the vector consist of one or more letters followed by one or more numbers. I wish to split each element in the
For your regex you have to use:
gsub("[[:digit:]]","",my.data)
The [:digit:] character class only makes sense inside a set of [].
[:digit:]
[]