R offers a free and open source environment that is perfect for both learning and deploying predictive modeling solutions in …