HP == Hervé Pagès hpa...@fhcrc.org
on Thu, 03 Jun 2010 13:25:10 -0700 writes:
HP Hi,
HP I just realized that a named empty list is displayed the same
HP way as an empty list:
list(aa=2:5)[0]
HP list()
list()
HP list()
HP For empty atomic vectors, the
Thanks Martin. H.
Martin Maechler wrote:
HP == Hervé Pagès hpa...@fhcrc.org
on Thu, 03 Jun 2010 13:25:10 -0700 writes:
HP Hi,
HP I just realized that a named empty list is displayed the same
HP way as an empty list:
list(aa=2:5)[0]
HP list()
list()
HP
Hi,
I just realized that a named empty list is displayed the same
way as an empty list:
list(aa=2:5)[0]
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?