title: How to change the default text editor in R when in Linux?
body: <p>I am programming using R in Linux and each time I want to edit a function by typing </p>
  
  <pre><code>fix(FunctioName)
  </code></pre>
  
  <p>The VI editor is used and for me, it is not that handy, I want to change it and make it an other one for example nano.
  I am connecting to our school server so I have only shell, no graphical interface.</p>
  
  <p>Thank you in advance.</p>