Skip to content

extract function "[" and empty index

1 message · Bengoechea Bartolomé Enrique (SIES 73)

#
Beware x[TRUE] returns the same as x[] only if x is NOT a zero-length vector (at least until R 2.5.1):
numeric(0)
[1] NA


Enrique