[R] paste to collapse vector to string
Dieter Menne
dieter.menne at menne-biomed.de
Thu Apr 2 09:33:47 CEST 2009
Xiao-Jun Ma-2 wrote:
>
> I'm trying to collapse a character vector to strings, but I am getting
> unexpected behaviors in list context:
> A <- "a"
> B <- c("b","c")
>
> xx <- list(A=A, B=B)
>
> lapply(xx, paste, collaplse=".")
>
Typing error in collapLse
Dieter
--
View this message in context: http://www.nabble.com/paste-to-collapse-vector-to-string-tp22840008p22842450.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list