The R working environment is called a workspace. The workspaces are stored into a directory and is reloaded the next time you open R. We can choose which directory to be used to store our projects. The standard commands used for managing the workspaces are given below.
To find out your current working directory, the get working directory function can be used. There are no arguments for this function.
To change your working directory, use the set working directory function along with the path to the new directory.
To move up a folder from the current directory, you can make use of,
To check your command history, just use your Up and Down arrow keys in your keyboard or use,
If you need the complete history of the commands used so far,
To list the objects in your current working directory,