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

______________________________________________
R-help@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.

Reply via email to