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

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

2011-05-06 Thread tornanddesperate
Hi again everybody I have I new problem concerning the editor of R. It is possible to add a new variable column, but they all have the name "var1".I read somewhere that it should be possible to change the variable name by clicking on it, but that doesn't work. Is that a bug or how is it possible