This seems to be deliberate, since paste.c says

    if(maxlen == 0)
        return mkString("");

but it is not documented and it is not what S (even S+3.4) does.

On the other hand, S gives

> paste(character(0), character(0), collapse="+")
[1] " "

which looks incorrect to me (and R gives "" which I reckon to be right).

Anyone know the rhyme or reason here?

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Reply via email to