R studio is the best tool to work on R Scripts. For people who are already well versed in writing code and scripts for R, RStudio is currently the best tool for the job. We encourage people to not just be consumers of R Script but to eventually join the R coding community.
RStudio is an integrated development environment (IDE) for R. It includes a console, syntax-highlighting editor that supports direct code execution, as well as tools for plotting, history, debugging and workspace management. (RStudio is available in open source and commercial editions and runs on the desktop (Windows, Mac, and Linux) or in a browser connected to RStudio Server or RStudio Server Pro (Debian/Ubuntu, RedHat/CentOS, and SUSE Linux).
RStudio is available for download on the RStudio Website.