Re: [R] wildcard symbol or character

From: john.polo <>
Date: Wed, 04 Jun 2008 22:46:35 -0400

Jorge Ivan Velez wrote:
> Dear John,
> Assuming that your information is in the list x, does
> substr(x,1,2)
> work for you?
> HTH,
> Jorge
i tried

split(rtt, substr(rtt,1,3))

and that worked also. (i didn't think to nest it when you first suggested it.) i just have to clean up the levels thing. thanks!!

now, i look into regex some...

john mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 05 Jun 2008 - 03:20:15 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 05 Jun 2008 - 03:30:37 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive