Often times people ask if they can substitute butter for the oil in cake recipes.  I do not recommend this.  I find that using oil rather than butter keeps the cake moist and also keeps it moist for longer.  So when it comes to carrot cake - stick to using oil.