CHICAGO — R. Kelly was released from jail on Saturday for the second time in less than two weeks after being taken into custody this week for failing to pay his ex-wife more than $160,000 in child support.

Mr. Kelly was charged last month with 10 counts of aggravated criminal sexual abuse and spent a weekend in jail before a woman who described herself as a friend posted $100,000 bond.

It was not immediately clear who arranged for Mr. Kelly’s release on Saturday. His lawyer, Steven Greenberg, said the person who posted the $161,663 bond wished to remain anonymous.

“I promise you, we’re going to straighten all this stuff out,” Mr. Kelly said after he left the Cook County Jail in Chicago, according to television station WSB-TV.