4.2 Navigate the tree of directory with the R terminal
- Get the path of the current directory (know where you are working at the moment) with getwd (get working directory):
- Change working directory with setwd (set working directory)
Go to a directory giving the absolute path:
Go to a directory giving the relative path:
You are now in: “~/Rcourse/Module1”
Move one directory “up” the tree:
You are now in: “~/Rcourse”