fixed R source files extension

* renamed from `.r` to `.R` filenames extension.