Rhode Island College says it will switch to mostly online classes this fall due to the coronavirus pandemic.