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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to