Hi guys, I checked previous posts and I saw similar questions have been answered; they didn't help me solve my problem though. I am using R version 2.13.0 (2011-04-13), Platform: x86_64-pc-mingw32/x64 (64-bit) and I am having difficulties renaming variables. I tried with this command:
names (oldvariable) <- 'new_variable' and now when I type in oldvariable the new name pops out in form: [1] "new_variable" BUT when I try typing in new_variable I get the message Error: object 'new_variable' not found I also tried with fix(mydata) command, but editor basically opens up empty, so I don't understand why this is happening. If you know how to advise me, I'll be grateful. Thank you! Marta -- View this message in context: http://r.789695.n4.nabble.com/Renaming-variables-tp3596227p3596227.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.