Minor request, but it would be nice if the RStudio IDE could automatically recognize files that begin with
#!/usr/bin/env Rscript
as R script files. These are typically executable scripts without extensions, and RStudio opens them as plain text files. Obviously, you can manually change this after opening, but I end up doing this several times a day.