title: Startup script in Rprofile throws 'function not found' errors
body: <p>I want R to load a certain file on initialization, so naturally I added a <code>source</code> command to my Rprofile so:</p>
  
  <pre><code>  .First &lt;- function()
     {
           cat("\n   Welcome to R MotherFnorder!!!\n\n")
           setwd("/home/username/Code/R/")
         source("/home/username/Code/R/file.R")
     }
  </code></pre>
  
  <p>But now when I start <code>R</code> it throws a 'function not found' error for default functions like <code>runif</code> or <code>rnorm</code>. When I load the same file manually into the workspace I get no errors.</p>