Working this way allows you to move your project around on your computer and share it with others without worrying about whether or not the underlying scripts will still work. All of the scripts within this folder can then use relative paths to files that indicate where inside the project a file is located (as opposed to absolute paths, which point to where a file is on a specific computer). It is good practice to keep a set of related data, analyses, and text self-contained in a single folder, called the working directory. Additionally, with many shortcuts, autocompletion, and highlighting for the major file types you use while developing in R, RStudio will make typing easier and less error-prone. One of the advantages of using RStudio is that all the information you need to write code is available in a single window. For ease of use, settings such as background color, font color, font size, and zoom level can also be adjusted in this menu (Global Options -> Appearance). The placement of these panes and their content can be customized (see menu, Tools -> Global Options -> Pane Layout).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |