Dear list, Building my QCAGUI package using Rcmdr 1.3.0, under R 2.6.0 (using Kubuntu Gutsy) I noticed the library starts visibly slower than... somewhere in the past. I used the same version of Rcmdr under previous versions of R and the tcl/tk window used to open instantly. Under the current version though, the window take seconds to open: first it builds the base window, then the menus and finally the complete window. The whole process takes about five seconds. I don't think it has anything to do with the Linux version, because I noticed the same behavior under the previous one as well. Is there something changed about tcl/tk in R 2.6.0? Thanks in advance, Adrian -- Adrian Dusa University of Bucharest Faculty of Sociology and Social Work 9, Schitu Magureanu Bd. Bucharest sector 5 Romania Tel./Fax: +40 21 3126618 \ +40 21 3120210 / int.101
Dear r-devel list members, As Adrian is aware, I've observed the same behaviour in R 2.6.0, in my case under Ubuntu Gutsy. It's my impression that the slowness of dialogs to display is true more generally of tcltk windows, but is particularly apparent for the main Rcmdr window because, I suspect, of its complexity. Since I'd like to insure that the Rcmdr works reasonably well under Linux systems, it would help to know the source of the problem. Thanks, John -------------------------------- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfox --------------------------------> -----Original Message----- > From: r-devel-bounces at r-project.org > [mailto:r-devel-bounces at r-project.org] On Behalf Of Adrian Dusa > Sent: Tuesday, October 30, 2007 7:31 PM > To: r-devel at r-project.org > Subject: [Rd] slow tcl/tk > > > Dear list, > > Building my QCAGUI package using Rcmdr 1.3.0, under R 2.6.0 > (using Kubuntu > Gutsy) I noticed the library starts visibly slower than... > somewhere in the past. > > I used the same version of Rcmdr under previous versions of R > and the tcl/tk window used to open instantly. Under the > current version though, the window take seconds to open: > first it builds the base window, then the menus and finally > the complete window. > > The whole process takes about five seconds. > I don't think it has anything to do with the Linux version, > because I noticed the same behavior under the previous one as well. > > Is there something changed about tcl/tk in R 2.6.0? > > Thanks in advance, > Adrian > > -- > Adrian Dusa > University of Bucharest > Faculty of Sociology and Social Work > 9, Schitu Magureanu Bd. > Bucharest sector 5 > Romania > Tel./Fax: +40 21 3126618 \ > +40 21 3120210 / int.101 > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >
Adrian Dusa wrote:> Dear list, > > Building my QCAGUI package using Rcmdr 1.3.0, under R 2.6.0 (using Kubuntu > Gutsy) I noticed the library starts visibly slower than... somewhere in the > past. > > I used the same version of Rcmdr under previous versions of R and the tcl/tk > window used to open instantly. Under the current version though, the window > take seconds to open: first it builds the base window, then the menus and > finally the complete window. > > The whole process takes about five seconds. > I don't think it has anything to do with the Linux version, because I noticed > the same behavior under the previous one as well. > > Is there something changed about tcl/tk in R 2.6.0? > >Hmm, there's an event loop messup which was fixed in R-patched. The main effect of that one was that scrollbars could go crazy. Not sure whether it might cause your kind of symptoms, but you might check out the fixed version. It doesn't seem to make much of a difference here. Rather, I suspect that Rcmdr itself got changed and a number of things that used to be fixed are now generated programmatically. There's certainly a lot of eval(parse(...)) stuff going on. (This sort of code always makes me a little suspicious, but I haven't by far studied it well enough to say whether there might be a more efficient way.)> Thanks in advance, > Adrian > >-- O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907