From h.wickham at gmail.com  Thu Oct 18 19:16:00 2007
From: h.wickham at gmail.com (hadley wickham)
Date: Thu, 18 Oct 2007 12:16:00 -0500
Subject: [Rd] Underlying representation for rownames
Message-ID: <f8e6ff050710181016v79c866acwca29a16ad2d5fae2@mail.gmail.com>

Is it possible to get at the underlying representation of row names -
ie. what you see in the output from dput:

> df <- data.frame(1:4)
> dput(df)
structure(list(X1.4 = 1:4), .Names = "X1.4", row.names = c(NA,
-4L), class = "data.frame")

I would like to be able to tell if a data frame has the default row
names, or if they have been changed by the user.  I need this for
rggobi because in GGobi row names should be unique across all data
frames, unless explicitly set by the user.

Thanks,

Hadley


-- 
http://had.co.nz/



[Rd] Underlying representation for rownames
hadley wickham