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.

New contributor
Philip C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
up vote 0 down vote accepted

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

New contributor
Mthir is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Awesome what I did was to replace the github.com with raw.githubusercontent.com to retrieve the raw code. – Philip C. 2 days ago

Your Answer

Philip C. is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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