R is an open source programming language. It has become one of the powerful choices for statistical analysis. R helps you to get big picture of your data by calculating statistical parameters like mean, standard deviation, correlation etc.
Here is a simple code to install all the necessary R packages to keep you up and running. The script will check whether the required packages have been installed, if not, it will install them accordingly.