Bug 8535 - dataentry()
Summary: dataentry()
Status: NEW
Alias: None
Product: R
Classification: Unclassified
Component: Wishlist (show other bugs)
Version: old
Hardware: All Linux-Debian
: P5 normal
Assignee: Jitterbug compatibility account
URL:
Depends on:
Blocks:
 
Reported: 2006-01-29 23:39 UTC by Jitterbug compatibility account
Modified: 2006-01-29 23:39 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jitterbug compatibility account 2006-01-29 23:39:11 UTC
From: greg.kochanski@phon.ox.ac.uk
Full_Name: Greg Kochanski
Version: 2.2.1
OS: Debian Linux (testing)
Submission from: (NULL) (212.159.16.190)


In writing class notes to teach people how to use R, I came across
a design failure of dataentry().

It seems that if you add a new value outside the bounds of an array,
dataentry() fills the intervening space with NA.     That's reasonable,
but what happens if you *accidentally* entered a value outside the
bounds?    There's no way to get rid of it.

Note that you are doomed once you type anyting beyond the end
of an array, even if you delete your typing before moving the
mouse out of the cell -- even then, that cell and others
between it and the end of the array will be filled with NA.

I would suggest that some mechanism be added to allow
arrays to be shortened in the data editor.     It would
be generally useful, even beyond fixing typing mistakes.

(I recognize that you can shorten an array with something
like x <- X[1:132], but it should still be possible in the
editor.)

Comment 1 Jitterbug compatibility account 2006-03-04 15:36:00 UTC
NOTES:
 wish to allow rows be trimmed in the data editor.
Comment 2 Jitterbug compatibility account 2006-03-04 16:36:48 UTC
Audit (from Jitterbug):
Mon Jan 30 20:41:59 2006	ripley	moved from incoming to wishlist
Sat Mar  4 10:36:48 2006	ripley	changed notes