This is the wrong part of my code.
>
>> idName=users[users$id %in% ext]
> id name
> 1: U03AEKWTL agreenmamba
> 2: U032FHV3S poisonivy
> 3: U03AEKYL4 vairis
>
Best is to use:
idNames <- users[pmatch(ext, users$id, duplicates.ok = T)]. This leave
me with an ordered and duplicate entries :
> idNames <- users[pmatch(ext, users$id, duplicates.ok = T)]
id name
1: U03AEKYL4 vairis
2: U03AEKYL4 vairis
3: U03AEKWTL agreenmamba
4: U032FHV3S poisonivy
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
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.