Re: [R] need help with renaming a variable

2015-01-23 Thread Jim Lemon
Hi Pavel, I probably should have explained that an object name beginning with a number is not valid. See "An Introduction to R", section 1.8. I think that the invalid name "2013fixed.data" has somehow been generated. If you can find where this occurred and change it to "fixed2013.data" the original

Re: [R] need help with renaming a variable

2015-01-22 Thread JSHuang3181
Hi, Here is my suggestion: To change variable 2 name: >names(temp.data)[2] <- "transsactionnumber" To show all variable names to verify: >names(temp.data) -- View this message in context: http://r.789695.n4.nabble.com/need-help-with-renaming-a-variable-tp4702154p4702179.html Sent from the

Re: [R] need help with renaming a variable

2015-01-22 Thread Jim Lemon
Hi Pavel, The problem may be with the name "2013fixed.data". I don't know where that came from, but try naming it "fixed2013.data". Jim On Fri, Jan 23, 2015 at 4:53 AM, Pavel Yakovlev wrote: > Hello. > > I am new to R, so my question/problem might be very basic, but I cannot > figure out how to

[R] need help with renaming a variable

2015-01-22 Thread Pavel Yakovlev
Hello. I am new to R, so my question/problem might be very basic, but I cannot figure out how to solve it. So, I would really appreciate your help. I would like to rename a variable in a very large file (181GB) called "2013.xdf" that is saved on my external hard drive. I tried running the follow