6.1.3 The working directory
We highly recommend only using relative paths in your code. The reason is that full paths are unique to your computer and you want your code to be portable. If you want to know the full path of your working directory using the getwd function. If you need to change your working directory, you can use the function setwd or you can change it through RStudio by clicking on “Session”.
When you start a project you want to pick a directory to store all the files related to that project and make this is your working directory when ruining your analysis.
6.1.3 The working directory We highly recommend only using relative paths in your code. The reason is that full paths are unique to your computer and you want your code to be portable. If you want to know the full path of your working directory using the getwd function. If you need to change your working directory, you can use the function setwd or you can change it through RStudio by clicking on “Session”.
When you start a project you want to pick a directory to store all the files related to that project and make this is your working directory when ruining your analysis.