If Rattle is the primary reason for installing R on your system then you may want to simply start up Rattleevery time R starts.
On GNU/Linux a user can add the following lines to the R initialisation file, .Rprofile, in either their home folder or within the folder in which they intend to start up R. The latter file takes precedent if it exists.
library(util) library(rattle) rattle()The XnullXXnullXR packagesR functions (R function)R packagesR libraries (R library)R packagesR option (R option)R packagesR packages (R package)R packagesDatasets (Dataset)XnullXR packagesR packagesutil package needs to be explicitly loaded since Rattleneeds it, and at the time this initialisation file is loaded, R has yet to fully load all of the standard packages.
On MS/Windows the system administrator can place the same lines into the site wide initialisation file, which will be something like:
C:\Program Files\R\R-2.7.0\etc\Rprofile.siteA user can also have their own initialisation file (.Rprofile) in their home folder:
C:\Documents and Settings\Kayon\My DocumentsThe home folder is where R starts up by default, and we can check what it is using getwd:
> getwd() [1] "C:\Documents and Settings\Kayon\My Documents"
Copyright © 2004-2008 Togaware Pty Ltd