Re: [R] List names help

From: Sarah Goslee <sarah.goslee_at_gmail.com>
Date: Tue, 29 Jul 2008 14:23:47 -0400

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

______________________________________________
R-help_at_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.
Received on Tue 29 Jul 2008 - 18:37:37 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Jul 2008 - 19:32:51 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive