If you're choosing between Another Code R and Super Mario Galaxy 2, the safe, crowd-pleasing pick is Mario Galaxy 2.
And to clear up the timing question: Mario Galaxy 2 had already been out for a couple of years by that point, so it's easy to find and enjoy.