Colleagues

R2.8.1 in OSX

I often combine two commands as follows:
        length(grep(TEXT, OBJECT)) > 0
to see if a particular snippet of text exists within an object.

Is there a single command that would accomplish this?

Dennis

Dennis Fisher MD
P < (The "P Less Than" Company)
Phone: 1-866-PLessThan (1-866-753-7784)
Fax: 1-415-564-2220
www.PLessThan.com

______________________________________________
R-help@r-project.org mailing list
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