# HG changeset patch # User Oleksandr Gavenko # Date 1457211061 -7200 # Node ID 095a0ab1289397380fdcd71e7267ea45e6be8c54 # Parent 998d6c646f2041cd390ef1df307c041c0de81066 Renaming columns diff -r 998d6c646f20 -r 095a0ab12893 r.rst --- a/r.rst Sat Mar 05 22:50:41 2016 +0200 +++ b/r.rst Sat Mar 05 22:51:01 2016 +0200 @@ -201,3 +201,5 @@ names(d)[names(d)=="beta"] <- "two" names(d)[2] <- "two" + library(plyr) + rename(d, c("beta"="two", "gamma"="three"))