TEHRAN — In a rare expression of regret by an Iranian official, President Hassan Rouhani said Thursday that he is sorry for any troubles with the distribution of a food ration to the poor, following reports that three people have died waiting for the goods in subzero weather.

Local media have reported that the three died in recent days while standing in line in freezing temperatures. Authorities were quoted as saying that they had pre-existing heart problems.

Most provinces in Iran have experienced unusually low temperatures in recent days.

Rouhani told state TV that he “as the president expresses regret if people have faced trouble in receiving the commodity basket.”

It’s unusual for an official in Iran to take responsibility for problems in a governmental plan.

The ration for the poor includes eggs, cooking oil, chicken, rice and cheese. The program was instituted under Rouhani’s predecessor, Mahmoud Ahmadinejad, originally just for government workers.

Rouhani’s administration decided to extend it from 3 million people to 17 million, out of a total population of 76 million. The plan is largely intended to counteract inflation, fed by the sanctions imposed on Iran over its nuclear program.

Abolhasan Firoozabadi, the deputy labor minister who handles the plan, told the official IRNA news agency that more than 11 million baskets of goods have been distributed so far.

But the lines to receive the goods are very long. “I returned home empty-handed after waiting three hours in the line. They said they did not have enough stuff for today,” said Zahr Sadri, a mother of three.

Ramin Pakzad, a part-time worker, said he tried and failed to find a line short enough that he wouldn’t risk losing his job by standing in it.

Rouhani’s opponents have leaped on the failures of the plan, with the hard-line Javan daily declaring it a “national humiliation.”

But even many of his supporters also acknowledge its shortcomings. “I think this is an uncalculated idea that government applied hastily and without any precautions,” said Sadegh Zibakalam, a Tehran University politics professor who supported Rouhani in June presidential elections.

One Tehran-based analyst, Saeed Leilaz, said he believed that Rouhani’s failed to successfully sort out those poor enough to qualify for the plan. Officials routinely complain that Iran lacks much basic demographic data.

However, Leilaz said, Rouhani did manage to lower inflation considerably since he took office in August, “the sharpest drop in Iran’s inflation history.”

Copyright 2014 The Associated Press.