title: Is it possible to execute a command automatically upon launch in R?
body: <p>I use R from the GUI app (R.app). When I open the app, it loads some data (e.g. <code>.Rapp.history</code> or <code>.RData</code>) from the working directory. However, is it possible to execute some commands or functions automatically upon launch?</p>
  
  <p>I just want to load some libraries such as <code>ggplot2</code> or <code>plyr</code>, which I always use on my session. </p>