Created R stats script and restored solutions.