title: read-only glasses icon appear in r functions in rstudio
body: <p><em>Background:</em> If you want to modify one of your customly defined functions, you can access the source code by selecting the function name and press &quot;F2&quot;, or ctrl-click it. This will take you to the function source and you can make changes.</p>
  <p><em>Problem:</em> You are redirected to a read-only definition of your function (indicated by read-only glasses icon appearing in the tab in rstudio) instead of your source script. (This is a similar behaviour as if you were inspecting a function loaded from a package or base R.)</p>
  <p><em>Question:</em> What should I do to remove the read-only mode? I want to be able to edit the functions again.</p>
  <p>I would like to know what I could have done to run into the aforementioned problem, not to do it again.</p>