saving progress, figuring out R method