getwd - Get and print the working directory
getwd
# get the current working directory getwd() # let us set a new working directory setwd("~/Desktop") # check the working directory again getwd()