The answer is 4 x 5^3

This is because you haveexactlyone "R", so you first put an "R" in the product code, and then count the number of places it can be (it can be in four places). Then you have 3 decisions with 5 options for the remaining 3 spots, so you multiply by 5^3.