

RData and the history file (default name. Running will start R.app and set the working directory. This is the equivalent on Unix (or the command line) to launch R from different directories.ĭrag and drop of a directory on the R.app icon while R.app is not Rprofile is read and executed by R at startup. The Preferences (or any other method mentioned above) to change the startup directory. Rprofile (containing you personal initialization R commands) in a particular directory and use 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. Up: The R Console 2.3.3 The current and startup working directories
#Mirror os x mountain lion for mac os x

As from R 3.0.0 most of the information has been moved to Information on using R on OS X which supplements the main R This document contains a user guide to the R.app version of R, and
