This post is about how to change your R working directory. You might be wondering: Why would I want to do that? You need this as soon as your script interacts with folders on your computer. For example for imports or exports of data or figures. So probably almost always. Let's say you have a script that creates plots and saves them in the folder "Plots", which is located in your source file directory.
I write this blogpost for someone, who has never worked with R Markdown. After you read this post, you will understand why R Markdown may be useful for your daily work as a student, researcher, analyst or data scientist. understand the basic structure of an R Markdown document and how you can get startet. I strongly encourage everybody working with R to use R Markdown. I promise, it will make your life so much easier.