A man was rescued from the James River and taken to the hospital yesterday after he swung from a rope swing and disappeared beneath the surface in Richmond, authorities said. The man was underwater for 30 to 40 seconds before a friend pulled him up and performed CPR, said Richmond fire Lt. Shawn L. Jones. The incident occurred shortly before 5 p.m. in the area of Tredegar and South Fifth streets downtown.