This feature is useful if you want different startup procedures defined by the. causes R.APP to be started using the current directory as the startup working directory. The same can be achieved on the command line – for example open -a R. If R.APP is not running, this will cause R.APP to be started in the directory corresponding to the folder dragged.
Finally it is possible to use a specific directory for a single R session by dragging a folder onto the R.APP icon. The working directory can be changed using the setwd R command or using the Misc menu item Change working directory. If not otherwise specified in the Preferences (see Preferences), or if the specified path is no longer available, then the default working directory at startup is the user home. Next: Resizing the R Console, Previous: Copy and Paste, Up: The R Console 2.3.3 The current and startup working directories
While R.APP refers to the GUI-based Mac OS application that controls In this document R refers to the core, command-line-based R system Manuals, the latest versions of which can be found at Information on using R on macOS which supplements the main R This document contains a user guide to the R.APP version of R, and Next: R.app, Previous: R for macOS FAQ, Up: R for macOS FAQ 1 Introduction