updated and saved r env and history from todays work