TheAlgorithms/R has 1,221 GitHub stars and 356 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-09 19:48 UTC. Last push 2026-06-12.
Collection of various algorithms implemented in R.
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalThe Algorithms - R
R is a programming language and free software environment for statistical computing and graphics supported by the R Foundation for Statistical Computing. The R language is widely used among statisticians and data miners for developing statistical software and data analysis. Polls, data mining surveys and studies of scholarly literature databases show substantial increases in popularity in recent years. As of November 2019, R ranks 16th in the TIOBE index, a measure of popularity of programming languages. (Wikipedia)
All algorithms can be found in the DIRECTORY.md file ordered by folder.
Contribution Guidelines
Please ensure to follow the points stated below if you would like to contribute:
1. Code Quality & Functionality
-Ensure that your code is functional and well-structured before submitting a pull request.
-The code should run without errors in an R environment and produce the expected output.
-Follow best practices for efficiency, readability, and maintainability.
2. Adding a New Algorithm
-Verify that the algorithm is not already implemented in the repository.
-Include a brief explanation of the algorithm in the file as comments.
-Add an example showcasing its usage (it can be commented within the script).
3. Modifying an Existing Algorithm
-If making improvements, clearly document the changes in your pull request description.
-Ensure that your modifications do not break existing functionality.
-If applicable, update or add test cases to validate your changes.
4. Code Style & Naming Conventions
-Use consistent and meaningful variable names. Follow one of these naming conventions:
-Use . or _ to separate words (e.g., results.df for a data frame).
-Ensure that filenames follow the existing directory structure and naming patterns.
5. Documentation & Comments
-Provide clear and concise documentation in the form of comments within the code.
-Add a brief docstring at the beginning of the script explaining:
-What the algorithm does
-The expected input and output
-Any dependencies required
6. Testing & Verification
-Before submitting a pull request, verify that your code:
-Runs correctly with different test cases
-Does not produce unnecessary warnings or errors
-If applicable, add a test file demonstrating the algorithm’s correctness.
Explore related projects
sindresorhus/awesome
😎 Awesome lists about all kinds of interesting topics [NOTE: Pull requests are temporarily disabled until I have a chance to catch up with the existing ones]
534,762 starsEbookFoundation/free-programming-books
:books: Freely available programming books
401,451 starsnilbuild/developer-roadmap
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
371,746 starsvinta/awesome-python
The definitive list that answers "I want to do X in Python, which tool should I use?"
333,809 stars