Hello, When you work on RStudio, you should notify which directory are you using. Because, the output files will be created on working directory. Here is the method of default setting of working directory. 1. Run the RStudio and you can see the below picture. Here you can set working directory by default. 2. Open the Global Option and fill in directory in R sessions where you want to get output ..