President Hugo Chavez has retained power in Venezuela, after defeating opponent Henrique Capriles, by a comfortable victory of one million votes.