Nick Cox wrote:
There is an extra sting in the problem. The first nine months
are represented by files with month elements 01 ... 09.
But you are supplying 1 ... 9. The leading "0" needs to be supplied.
Here is one way to do it: