pd@blueberry.kubism.ku.dk
2000-Aug-02 09:10 UTC
[Rd] data editor freeze on empty data frame (PR#622)
It is quite tempting to start simple data entry sessions where you need to type in the data like this: my.frame<-data.frame(a=numeric(0),b=numeric(0)) fix(my.frame) (and if factors are involved, that is pretty much what you'd have to do in order to get the appropriate levels) However, in the X version, this seems to cause the data editor to freeze as soon as one hits Enter after inserting data into the first cell. I haven't tried the Windows version yet. [This is something it would be nice to have resolved in 1.1.1] --please do not edit the information below-- Version: platform = i586-pc-linux-gnu arch = i586 os = linux-gnu system = i586, linux-gnu status = Patched major = 1 minor = 1.0 year = 2000 month = August day = 1 language = R Search Path: .GlobalEnv, Autoloads, package:base -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Peter Dalgaard BSA
2000-Aug-02 12:35 UTC
[Rd] data editor freeze on empty data frame (PR#622)
pd@blueberry.kubism.ku.dk writes:> However, in the X version, this seems to cause the data editor to > freeze as soon as one hits Enter after inserting data into the > first cell. I haven't tried the Windows version yet.Freezes the windows version as well, it seems. Also, the code for editing factors using their numeric codes seems to have been broken in 1.1.0 (only converts back to factor if there are invalid levels). I'll fix the latter. [I'm also not happy with the code that autoinserts mistyped or otherwise extraneous factor levels -- if they really are typos, they'll be a pain to remove if one used fix(my.frame)! That may be against policy to change in a patch release, though...] -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Prof Brian Ripley
2000-Aug-02 13:10 UTC
[Rd] data editor freeze on empty data frame (PR#622)
> To: r-devel@stat.math.ethz.ch > Cc: R-bugs@biostat.ku.dk > Subject: Re: [Rd] data editor freeze on empty data frame (PR#622) > From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> > Date: 02 Aug 2000 14:35:42 +0200 > > pd@blueberry.kubism.ku.dk writes: > > > However, in the X version, this seems to cause the data editor to > > freeze as soon as one hits Enter after inserting data into the > > first cell. I haven't tried the Windows version yet. > > Freezes the windows version as well, it seems. Also, the code for > editing factors using their numeric codes seems to have been broken in > 1.1.0 (only converts back to factor if there are invalid levels). I'll > fix the latter.Found and corrected: an infinite loop in getccol when the length was zero, of very long standing.> [I'm also not happy with the code that autoinserts mistyped or > otherwise extraneous factor levels -- if they really are typos, > they'll be a pain to remove if one used fix(my.frame)! That > may be against policy to change in a patch release, though...]Until the data editor has a mode for factors, the current compromise, to edit as character, seems the best one to me. Using cut and paste helps to eliminate typos. -- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._