[R] writeLines: Write several lines
Rui Barradas
ruipbarradas at sapo.pt
Thu Nov 10 18:20:10 CET 2016
Hello,
Just read the help page ?paste, in particular the argument collapse.
x <- LETTERS[1:9]
paste(x, collapse = "")
Hope this helps,
Rui Barradas
Em 10-11-2016 17:14, Ferri Leberl escreveu:
> Dear All,
>
> If I have a vector V consisting of 9 strings — how can I paste them into a single string without programming a loop?
>
> Thank you in advance!
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>
More information about the R-help
mailing list