I am programming using R in Linux and each time I want to edit a function by typing
fix(FunctioName)
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.
Thank you in advance.
Or in R, to override the environment variable:
options(editor = "nano")
As always, export the desired editor in $EDITOR
or $VISUAL
before starting.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With