William R. Ginsberg , a leading advocate for the preservation of open space , a professor of environmental law and a New York City commissioner of parks and recreation in the Lindsay administration , died on Sunday at his home in Manhattan .