Try this:

unique(list1)

On Wed, Jan 14, 2009 at 11:19 AM, glenn <g1enn.roberts@btinternet.com>wrote:

> For a list say;
>
> list1<-{1,2,3,4,5,2,1}
>
> How do I remove the duplicates please?
> My real list is 20,000 obs long of dates with many duplicates
>
> Regards
>
> Glenn
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> 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.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

	[[alternative HTML version deleted]]


