Re: [R] editor: not possible to change the variable name

2011-05-06 Thread Joshua Wiley
Hi Matthias, If you know the column number you want to change, it is pretty straightforward. ## use the builtin mtcars dataset as an example ## and store it in variable, 'x' x <- mtcars ## change the second column name to "cylinder" colnames(x)[2] <- "cylinder" ## compare the column names of 'x'

Re: [R] editor: not possible to change the variable name

2011-05-06 Thread Joshua Wiley
Hi Matthias, What do you mean by "that doesn't work"? What platform are you using? Using: > sessionInfo() R version 2.13.0 (2011-04-13) Platform: x86_64-pc-mingw32/x64 (64-bit) fix(mydataframe) brings up the data editor, then if I click a variable name, and change it and shut down the data ed