Skip to content
Prev 367018 / 398506 Next

Beginner needs help with R

You can do it just with sprintf (and presumably with formatC as well) if you add a leading "DQ" to the format string.:
[1] "DQ060054" "DQ060055" "DQ060056" "DQ060057" "DQ060058" "DQ060059" "DQ060060"