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