Preheat oven to 350°F.
In a large bowl, beat the butter, sugar, brown sugar, egg and vanilla until well blended and smooth. Add the flour, cinnamon, baking soda, salt and carrots and stir by hand until almost blended; add the raisins and nuts and stir just until combined.
Drop spoonfuls of dough onto a cookie sheet that has been sprayed with nonstick spray. Bake for 12-14 minutes, until they’re just barely golden around the edges and on the lumpy parts, but still soft in the middle and not wet-looking on top. Transfer to a wire rack to cool.
To make frosting: In a large bowl, beat the butter and cream cheese with an electric mixer until creamy. Gradually add the icing sugar, milk and vanilla, beating until the mixture is creamy and smooth.
Once the cookies have completely cooled, you can frost them with cream cheese frosting, or make sandwiches by frosting the bottom of a cookie and sandwiching it with another. Makes about 20 cookies (or 10 sandwiches).