Hillary Rodham Clinton has formally resigned as America's 67th secretary of state, capping a four-year tenure in the office that saw her shatter previous records for countries visited.