Introduction to Renewable Power Systems and the Environment with R