S.R. Nathan, a 92-year-old former senior civil servant, was the sixth and longest-serving president in Singapore.