Displaying 1 result from an estimated 1 matches for "r51787".
Did you mean:
r5178
2010 Jun 03
1
named empty list
...list()
> list()
list()
For empty atomic vectors, the print method makes the difference:
> c(aa=3L)[0]
named integer(0)
> integer(0)
integer(0)
Maybe lists could do that too?
Thanks,
H.
> sessionInfo()
R version 2.12.0 Under development (unstable) (2010-04-20 r51787)
x86_64-unknown-linux-gnu
locale:
[1] LC_CTYPE=en_CA.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_CA.UTF-8 LC_COLLATE=en_CA.UTF-8
[5] LC_MONETARY=C LC_MESSAGES=en_CA.UTF-8
[7] LC_PAPER=en_CA.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUR...