Re: [R] Your message to R-help awaits moderator approval

2010-07-26 Thread mirek wyczesany
verry sorry for posting the mwssage below from wrong email account. please reject it. sorry for the inconvenience... mirek On 07/26/2010 08:54 PM, r-help-boun...@r-project.org wrote: Your mail to 'R-help' with the subject using string variable as order() function argument Is

[R] using string variable as order() function argument

2010-07-26 Thread mirek wyczesany
quot; name: columnname = "column3" **sorted = mytable**[order(columnname) , ]** this command is not properly evaluated and the effect is somewhat strange. Would you suggest some solution? Thanks a lot! Mirek __ R-help@r-project.org mailing list

[R] using string variable as order() function argument

2010-07-26 Thread mirek
columnname = "column3" sorted = mytable[order(columnname) , ] this command is not properly evaluated and the effect is somewhat strange. Would you suggest some solution? Thanks a lot! Mirek __ R-help@r-project.org mailing list https://stat.ethz