how to concatenate in r print statement code example Example: r print concatenate paste("on the ", counter, "rd count: ", k, sep="")