I have created an R-Scripts repository on GitHub to give any scripts that I share a permanent home.
The repository will contain scripts that I write which may become useful to other people. For a start, the scripts are provided only with the inline comments and no further explanations. They are aimed at people who know a bit about R and can thus understand the commands, though they may also be interesting to beginners. R experts will possibly have a better solution running within a few minutes.
It is available at the following address: https://github.com/DetlevCM/some-R-Scripts