Re: [R] looking for a string

From: [Ricardo Rodriguez] Your XEN ICT Team <>
Date: Tue, 15 Apr 2008 23:48:12 +0200

Thanks all, wrote:
>> From: "[Ricardo Rodriguez] Your XEN ICT Team" <>
>> Date: 2008/04/14 Mon PM 07:43:23 CDT
>> To: Henrique Dallazuanna <>,
>> Subject: Re: [R] looking for a string
> henrique means to use his command directly and
> forget about subset. subset probably doesn't
> let you do what you want to do.
Mark, I've finally found an example that helps me to understand what Henrique said. Here it is:

## sometimes requiring a logical 'subset' argument is a nuisance nm <- rownames(state.x77)
start_with_M <- nm %in% grep("^M", nm, value=TRUE) subset(state.x77, start_with_M, Illiteracy:Murder)

Coming from

What I am not able to understand yet is Charles's proposal. Any insight will be welcome!



Ricardo Rodríguez
Your XEN ICT Team

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 15 Apr 2008 - 21:50:28 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 Tue 15 Apr 2008 - 22:30:28 GMT.

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

list of date sections of archive