[R] Extracting Names of Named List (Index of Hash)

Gundala Viswanath gundalav at gmail.com
Tue Aug 5 15:14:57 CEST 2008


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



More information about the R-help mailing list