[R] "unvector" ?
Eric Elguero
Eric.Elguero at mpl.ird.fr
Mon Sep 11 17:07:55 CEST 2006
Hi ev'rybody,
is there a way to pass a vector to a function
expecting separate arguments?
more specifically, I have a character vector, say u
and I want a single string, but
>paste(u)
doesn't work, so I would like something like
>paste(unvector(u)).
I am interested in a solution to the general problem too,
as the only one I found is maintaining two versions of the
functions I write.
Eric Elguero
GEMI-UMR 2724 IRD-CNRS,
Equipe "Evolution des Systemes Symbiotiques"
911 avenue Agropolis, BP 64501,
34394 Montpellier cedex 5 FRANCE
More information about the R-help
mailing list