Data Entry Editor
On Fri, 5 May 2000, Uwe Ligges wrote:
Prof Brian Ripley, "[Rd] Windows version of R-devel":
I would be particularly interested in comments on the new data entry editor (used by fix/edit on data frames). This is still work in progress (in parallel with changes on X11). [...] A data entry editor is now implemented. This is similar to the Unix one (see ?dataentry) with the additional feature that right-clicking in a cell turns it into an editable field (entered as a new value by navigating away from the cell).
data.entry on Unix has lots of quirks. Thanks for the comments: as I said, this is work in progress, and based on some already flaky code.
You know most (or all) of the following points, I suppose: (WinNT4.0) - in help(dataentry): "... Tab moves left. ...", but moves right.
Thanks.
- Shift+Tab also moves right. I expected, it would move left (as in other spreadsheets).
Not there, will add.
- If the "Data Entry Editor" is opened and you are moving the window of another application around its window, it is "flickering" a long time. - Using data.entry() on a existing matrix, list or data.frame, unnamed columns after that are named "var1", "var2", etc.
I don't see that here.
- data.entry() does not work with all data.frames, e.g.:
x <- data.frame(1:2, c("A", "B"))
data.entry(x)
Error in de.ncols(sdata) : wrong argument to dataentry
You should use edit and not data.entry with data frames. That one is wrong on Unix too.
- data.entry() with some irregular names as "Modes" argument crashes, e.g.: x <- 1 data.entry(x, Modes = plot) Dr. Watson ...
Crashes Unix too.
- Expand existing vectors or matrices. It's to difficult to describe for me. Look into the examples: x <- 1 data.entry(x) ## Klick into [2, 1] (should be NA ?): 0 ## Klick into [3, 1]: 0 ## Klick into [4, 1]: NA x <- matrix(1:2, nrow=1) data.entry(x) ## Klick into [2, 1]: 1.#INF00e-316 ## and ENTER: 1 ## Klick into [3, 1]: 0 ## Klick into [4, 1]: NA
There's some bug there: will take a look. Also single-clicking seems suspect at present, acting as double clicking, so this is related I think.
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._