Ok, an extra blank space at the end was the problem. I missed it.

Cheers,



2014-05-07 9:05 GMT-03:00 Alejo C.S. <alej.c.s@gmail.com>:

> Hi all, I have a data frame with names that in some cases have blank
> spaces:
>
>  > TABLE$place
>  [1] La Blanqueada  La Blanqueada  La Blanqueada  La Blanqueada  La
> Blanqueada
>  [6] La Blanqueada  La Blanqueada  Sargento Ponce Sargento Ponce La
> Blanqueada
> [11] La Blanqueada  Sargento Ponce La Blanqueada  Sargento Ponce La
> Blanqueada
> [16] Sargento Ponce Sargento Ponce La Blanqueada  La Blanqueada  Sargento
> Ponce
>
>
> > summary(TABLE$place)
>    Heredia    La Blanqueada     Sargento Ponce
>              7                 29                          22
>
>
> when I try to subsetting using:
>
>  TABLE$place=="La Blanqueada"
>
>  [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
> FALSE FALSE
> [14] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
> FALSE FALSE
> [27] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
> FALSE FALSE
> [40] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
> FALSE FALSE
>
>
> Some tip on this?
>
> Thanks in advance
>
>

	[[alternative HTML version deleted]]

