Re: [R] Named arrays

From: David Winsemius <>
Date: Tue, 22 Apr 2008 02:39:31 +0000 (UTC)

Erhan <> wrote in

> Hi! I need to access all the strings used as indexes in an array.
> Can someone tell me how to do that?
> I'm not sure this is the right place to ask, but I couldn't find
> another group.

In R dataframe indices can be either row or column names. For column names use;


  ... and for row names:


For matrix-like objects (of which dataframes are an instance) see also:


David Winsemius

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 22 Apr 2008 - 02:43:15 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 22 Apr 2008 - 03:30:31 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive