How to convert Vectors to Strings ? abhisanto Introduction to R Programming May 10, 2020 1 Minute We can convert using paste() and use collapse argument to separate vectors items Code to convert vectors to strings #Converting Vectors to Strings stringVector <- c(“Introduction”, “to”, “R”)paste(stringVector, collapse = ” “)paste(stringVector, collapse = “.”)intVector <- c(1, 2, 3)paste(intVector, collapse = “,”) Output [1] “Introduction to R”[1] “Introduction.to.R”[1] “1,2,3” Share this:TwitterFacebookLike this:Like Loading... Published May 10, 2020