Around 32,000 security personnel have been deployed across the Indonesian capital Jakarta after early "quick count" results confirmed Joko Widodo's victory in last month's elections.
Some schools have announced closures, while local offices have allowed staff to work, amid threats of protests by rival Prabowo Subianto's supporters.
The retired general, who was handed 44.5 per cent of the votes by the General Election Commission (KPU), "completely rejected" the results, and pledged to "continue to make legal efforts in line with the constitution to defend the mandate of the people".
Widodo, who won 55.5 per cent of the votes, said he will be a leader for all Indonesians.
"We are grateful and proud that amid our differences, we have been mature in keeping the peace," he said.

Five Turkish soldiers killed in helicopter crash
Hostages held in Colombia supermarket after failed carjacking
11 injured in Houthi attack on Riyadh financial district tower
Explosion kills 6, injures 10 in Vietnam capital Hanoi
Pakistani pilot to become first foreigner to fly to China's space station
Sheikh Hasina seeks to return to Bangladesh on December 16 on state carrier
Israeli airstrikes kill at least six Palestinians in Gaza, medics say
Israeli airstrike kills at least 3 Palestinians in southern Gaza, medics say
