Mash the rice well and mix it with the crabmeat, onion, garlic, carrot and pepper. Prepare 4 patties about 3 inches in diameter and 1/2 inch thick. Heat oil in a skillet and brown the patties over moderate heat for 3 minutes on each side. Drain on paper towels. Serve warm.