Already in the first chapter, we showed you how to set up RStudio with the built-in settings so that it corresponds, practically and visually, with your wishes and preferences. But, there are also other options that cannot be set within the RStudio GUI since they are general R settings. An example of this is the Rprofile. But everything you determine in your personal Rprofile will also be executed in RStudio.
You may have never heard of the so-called Rprofile before. In fact, at first glance, it is just a normal text file, which can be found in the R home directory. But it could also be possible that you do not have such a file.
The customization of Rprofile is an interesting way to load personally stored functions, options, scripts, the preferred CRAN mirror, and so on, for your R sessions at every startup of R, respectively RStudio.