Right-wing candidates are the frontrunners in elections marked by economic crisis and division in the ruling socialist ranks.