[R] List names help

Sarah Goslee sarah.goslee at gmail.com
Tue Jul 29 20:23:47 CEST 2008


Sure, just set them to NULL.

> mylist <- c(a=1, b=2, c=3)
> mylist
a b c
1 2 3
> names(mylist) <- NULL
> mylist
[1] 1 2 3


Sarah

On Tue, Jul 29, 2008 at 1:45 PM, Rajasekaramya <ramya.victory at gmail.com> wrote:
>
> hi ,
>
> Is there anyways to delet the list names once created.
>
> i tried
> rm(names(mylist))
>
> i didnt work
>
> kindly help me
>
> Ramya



-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list