[R] [EXT] string concatenation

Andrew Robinson @pro @end|ng |rom un|me|b@edu@@u
Thu Nov 5 06:18:02 CET 2020


Try

paste(x, collapse = ", ")

Cheers,

Andrew

--
Andrew Robinson
Director, CEBRA and Professor of Biosecurity,
School/s of BioSciences and Mathematics & Statistics
University of Melbourne, VIC 3010 Australia
Tel: (+61) 0403 138 955
Email: apro using unimelb.edu.au
Website: https://researchers.ms.unimelb.edu.au/~apro@unimelb/

I acknowledge the Traditional Owners of the land I inhabit, and pay my respects to their Elders.
On Nov 5, 2020, 4:17 PM +1100, John <miaojpm using gmail.com>, wrote:

x <- c("Alice", "Bob", "Charles")

	[[alternative HTML version deleted]]



More information about the R-help mailing list