====== Setting working directory ====== > getwd > setwd ====== Saving Workspace ====== > save.image() ====== Command History ====== > history() ====== Saving the Result of the Previous Command ====== > x <- .Last.value # Capture the result now > x [1] 147.6549