title: Error: cannot add binding of 'main.dir' to the base environment
body: <p>After upgrading to R 4.1.2 I got the following error</p>
  <p>Fejl: cannot add binding of 'main.dir' to the base environment</p>
  <p>This is related to my Rprofile.site and related to these lines</p>
  <pre><code>main.dir &lt;- 'E:/Users/jdoe/R'
  setwd(main.dir)
  </code></pre>
  <p>It has always worked with earlier versions.</p>
  <p>How can I fix this problem?</p>