I program in R and use Rstudio as an IDE when coding on my laptop. Else, I use the NVIM-R plugin for the VI editor when I code on the HPC. For R, apart from these two, you don't need anything else.
I also recommend the GitHub desktop client for interacting with GitHub.com.