The shooting, which left at least two students dead, shook the Rhode Island community at the university, one of the oldest in the United States.