Iurie Malai
2011-Jan-05 12:39 UTC
[R] R Commander - how to disable the alphabetical sorting of variable names?
I try to disable alphabetical sorting of the variable names but I fail, R Commander does not store any changes made in the "Commander Options" menu / window. I tried to insert "options(sort.names = FALSE)" in Rprofile.site and .Rprofile config files but without success. Does anyone know the solution? -- View this message in context: http://r.789695.n4.nabble.com/R-Commander-how-to-disable-the-alphabetical-sorting-of-variable-names-tp3175426p3175426.html Sent from the R help mailing list archive at Nabble.com.
John Fox
2011-Jan-05 19:33 UTC
[R] R Commander - how to disable the alphabetical sorting of variable names?
Dear Iurie Malai, How Rcmdr options are set is described in ?Commander, which is also accessible via the R Commander menus, "Help -> Commander help". You need options(Rcmdr=list(sort.names=FALSE)) which you can put in Rprofile.site. Best, John -------------------------------- John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]On> Behalf Of Iurie Malai > Sent: January-05-11 7:39 AM > To: r-help at r-project.org > Subject: [R] R Commander - how to disable the alphabetical sorting of > variable names? > > > I try to disable alphabetical sorting of the variable names but I fail, R > Commander does not store any changes made in the "Commander Options" menu/> window. I tried to insert "options(sort.names = FALSE)" in Rprofile.siteand> .Rprofile config files but without success. Does anyone know the solution? > -- > View this message in context:http://r.789695.n4.nabble.com/R-Commander-how->to-disable-the-alphabetical-sorting-of-variable-names-tp3175426p3175426.html> Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.