# NOT RUN {
# RStudio is required for running this function.
set.wd() # set working directory to the path of the currently opened file
set.wd("D:/") # or any other path (use "/" rather than "\")
set.wd("../") # set working directory to the parent directory
set.wd(ask=TRUE) # select a folder with the prompt of a dialog
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab