I was originally going to write that, but R# already exists: https://rsharp.net/ (based on https://www.r-project.org/)
Not to be confused with the other R#, which is ReSharper.
https://www.jetbrains.com/resharper/