I use ESS-Emacs to edit my R scripts.
Whenever I load a R script it is always followed by:
- C-x 3 (I prefer this split)
- M-x R (Opens R)
Is there a way to automate steps 1. and 2. every time I type on the terminal:
emacs misc_r_file.r
Just to make myself clear – I don’t want either 1 or 2 if I have already opened a R script in emacs. Steps 1 and 2 should be executed only when I open a fresh emacs process.
Thank you for your help in advance.
Is there a way to do this? Of course, it’s just programming.
Why don’t you persist your Emacs session, though?