[R] collapse argument on paste

Deepayan Sarkar deepayan at stat.wisc.edu
Sun Aug 17 20:21:22 CEST 2003

On Sunday 17 August 2003 12:50, Gabor Grothendieck wrote:
> One gets a different response when abbreviating collapse= in
> paste?  In the second case, it appears to be acting as if " + " is just
> another argument to be pasted.

You can't abbreviate the collapse argument. In general, anything after 
the ..., if any, in the argument list of a function cannot be abbreviated, 
and args(paste) says:

> args(paste)
function (..., sep = " ", collapse = NULL)


More information about the R-help mailing list