Shifting from Rstudio to ESS took some time with me because of the steep learning curve of a versatile Emacs editor, but is was a worthwhile experience. What I am still missing in ESS is that outline or overview of the R script file based on comments (called sections in Rstudio) by pressing Ctrl+Shift+R
to give # some comments or title here
(see the screenshot).
After having a lot of sections and the file size becomes very large, it becomes increasingly difficult to navigate throughout a giant multi-section file. In Rstudio I press that orange button #
to pop up a small window of all sections or #
comments and by clicking any one of them will put me on that heading in the file.
Similar thing I found in AUCTeX is the C-c =
which will show an outline clickable table to navigate that .tex
file.
How to obtain this handy overview in ESS?