[R] Extracting Names of Named List (Index of Hash)
Henrique Dallazuanna
wwwhsd at gmail.com
Tue Aug 5 15:54:43 CEST 2008
names(y)
On Tue, Aug 5, 2008 at 10:14 AM, Gundala Viswanath <gundalav at gmail.com> wrote:
> Hi,
>
> How can I extract the names of the following
> list:
>
>> str(y)
> List of 815
> $ 200052_s_at : num [1:5] -1067 -1064 -1063 -1062 -1059
> $ 200071_at : num [1:5] -960 -954 -954 -949 -975
> $ 200084_at : num [1:5] -1136 -1133 -1128 -1129 -1126
> ...
>
> Thus in the end I want to get the array:
>
> [1] "200052_s_at" "200071_at" "200084_at" ....
>
> - Gundala Viswanath
> Jakarta - Indonesia
>
> ______________________________________________
> 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.
>
--
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O
More information about the R-help
mailing list