Message-ID: <alpine.LNX.2.00.1212051323210.1764@salmo.appl-ecosys.com>
Date: 2012-12-05T21:24:35Z
From: Rich Shepard
Subject: Changing data frame column headings
In-Reply-To: <1354740345.61901.YahooMailNeo@web142605.mail.bf1.yahoo.com>
On Wed, 5 Dec 2012, arun wrote:
> I am not sure why ?rename() is not working.
> ?a <- list(a = 1, b = 2, c = 3)
> ?? ? rename(a, c(b = "a", c = "b", a="c"))
I have the reshape2 library loaded and ?rename did not find the help page.
Are the parentheses required in the command?
Thanks,
Rich