Hello,


I have a vector x of character strings:



x <- c("LM0122","RTGFFFF", "GF TYHH", "HJN 89963", "KFTR1","RT 8")



>From this vector, how can I extract the following character strings (i.e., 
>which contain 0 or 1 numeric value)



[1] "RTGFFFF"   "GF TYHH"   "KFTR1"  "RT 8"



Thank you very much for your help.

Have a nice day

Marine


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to