The following code
a <- seq(1,101,25)
b <- paste("name", 1:length(a), sep = "_")
produces this output:
"name_1"  "name_26"  "name_51"  "name_76"  "name_101"
I'd like to have the same width of all values which means for me to fill the values with zeros like this:
"name_001"  "name_026"  "name_051"  "name_076"  "name_101"
How do I handle that?
(This question is related to this one.)
 
     
     
    