BOSTON, June 2. -- Robert Swan, the oldest Principal of a Boston school, died at midnight at his home in Dorchester. He attended as usual to the routine duties of his school throughout last week.