Bug 8535

Summary: dataentry()
Product: R Reporter: Jitterbug compatibility account <jitterbug-import>
Component: WishlistAssignee: Jitterbug compatibility account <jitterbug-import>
Status: NEW ---    
Severity: normal    
Priority: P5    
Version: old   
Hardware: All   
OS: Linux-Debian   

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

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

Comment 1 Jitterbug compatibility account 2006-03-04 15:36:00 UTC
 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