Is there a \"by row\" operation in R to convert each row in a vector like this to strings?
> d= cbind(\"Data\", c(\"2\", \"73\")) > d [,1] [,2]
After a quick glace at ?paste, it's clear that apply isn't needed for the example given. It would be handy if there are several columns though.
?paste
apply
> paste(d[,1],d[,2]) [1] "Data 2" "Data 73"