[R] looking for a string
    [Ricardo Rodriguez] Your XEN ICT Team 
    webmaster at xen.net
       
    Tue Apr 15 02:43:23 CEST 2008
    
    
  
Thanks! Here what I get:
Henrique Dallazuanna wrote:
> Try something like this:
>
> x[grep("Jalapa", x$unidad),, drop = F]
>
 >  conaguaMexicoSub <- subset(conagua, unidad == x[grep("Jalapa", 
x$unidad),, drop = F], select = c(equipo,X101:X309))
Error en x$unidad : $ operator is invalid for atomic vectors
Please, is the expression you proposed to pass directly to unidad == ?
I am afraid that I didn't expect that it will be so hard to find an 
alternative to DOS wildcards!
Thanks for your help,
Ricardo
-- 
Ricardo Rodríguez
Your XEN ICT Team
    
    
More information about the R-help
mailing list