Skip to content
Prev 10471 / 63424 Next

Problem with 'drop' for 1-D arrays? (PR#4110)

R 1.7.1 on Windows XP

The argument 'drop' appears to be ignored when subscripting
1-dimensional arrays (i.e., arrays whose 'dim' attribute has 
length 1):
[1] 5
[1] 5
NULL
NULL

Note that the behavior with a 2-D array is different:
[1] 1 5
NULL
NULL
[1] 1 2

Rich Raubertas
Biometrics Research, RY33-300
Merck & Co.

------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments,...{{dropped}}