I am working on a project about R's language syntax and I want to retrieve as many as possible *.R extension files from GitHub. I couldn't figure it out myself at the GitHub's API tool nor with custom search engines such as Google's and Bing's. Any input would be vastly appreciated.


Have you tried using this keyword in Google custom search engine:

site:github.com filetype:r

For example you want to search any r file related to Anova in github.com. So open google.com and type this keyword:

anova site:github.com filetype:r

  • Awesome what I did was to replace the github.com with raw.githubusercontent.com to retrieve the raw code.
    – Grzegorz
    Dec 10 '18 at 11:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.