NEW YORK — David Carr, a writer who wriggled away from the demon of drug addiction to become a name-brand media columnist at the New York Times and the star of “Page One,” a documentary about the newspaper, died Thursday in Manhattan. He was 58.

Mr. Carr collapsed in the Times newsroom, where he was found shortly before 9 p.m. He was taken to Roosevelt Hospital, where he was pronounced dead.

Earlier in the evening, he moderated a panel discussion about the film “Citizenfour” with its principal subject, Edward Snowden, the film’s director, Laura Poitras, and Glenn Greenwald, a journalist.

Mr. Carr wrote about cultural subjects for the Times; he initiated the feature known as The Carpetbagger, a regular report on the news and nonsense from the red carpet during awards season. He championed offbeat movies like “Juno,” with Ellen Page, and he interviewed stars both enduring and evanescent — Woody Harrelson, Neil Young, Michael Cera.

More recently, however, he was best known for The Media Equation, a Monday column in the Times that analyzed news and developments in publishing, television, social media — for which he was an early evangelist — and other communications platforms. His plain-spoken style was sometimes blunt, and he was searingly honest about himself. The effect was both folksy and sophisticated, a voice from a shrewd and well-informed skeptic.

“We want our anchors to be both good at reading the news and also pretending to be in the middle of it,” he wrote Monday in the wake of revelations that NBC anchor Brian Williams had lied about being in a helicopter under fire in Iraq in 2003.

“That’s why, when the forces of man, or Mother Nature, whip up chaos, both broadcast and cable news outlets are compelled to ship the whole heaving apparatus to far-flung parts of the globe, with an anchor as the flag bearer. We want our anchors to be everywhere, to be impossibly famous, globe-trotting, hilarious, down-to-earth, and above all, trustworthy. It’s a job description that no one can match.”

Mr. Carr’s rise to a prominent position at the Times is all the more remarkable for the depths from which he rose.

As he chronicled in his 2008 memoir, “The Night of the Gun,” by the late 1980s, he was addicted to crack cocaine and living with a woman who was both a drug dealer and the mother of his twin daughters.

Before joining the Times, Mr. Carr was a contributing writer for Atlantic Monthly and New York magazine. In 2000, he was the media writer for Inside.com, a website focusing on the business of entertainment and publishing.

Before coming to New York, he served for five years as editor of Washington City Paper, an alternative weekly in Washington, D.C. From 1993 to 1995, he was editor of the Twin Cities Reader, a Minneapolis-based alternative weekly, and he wrote a media column there as well.

Mr. Carr lived in Montclair, N.J., with his wife, Jill Rooney Carr, an event planner, and their daughter Maddie. He also has twin daughters, Erin and Meagan.