[Rd] Data Entry Editor

Uwe Ligges ligges@statistik.uni-dortmund.de
Fri, 05 May 2000 20:52:12 +0200


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).


You know most (or all) of the following points, I suppose:
(WinNT4.0)


- in help(dataentry): "... Tab moves left. ...", but moves right.

- Shift+Tab also moves right. I expected, it would move left (as in
other spreadsheets).

- 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.

- 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

- data.entry() with some irregular names as "Modes" argument crashes,
e.g.:

   x <- 1
   data.entry(x, Modes = plot)
 Dr. Watson ...

- 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




Regards,
Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._