{"id":20683522,"url":"https://github.com/eggy115/r","last_synced_at":"2025-04-22T12:25:04.672Z","repository":{"id":239269562,"uuid":"622269242","full_name":"Eggy115/R","owner":"Eggy115","description":"R Scripts and Programs","archived":false,"fork":false,"pushed_at":"2023-04-12T11:10:33.000Z","size":539,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-20T15:41:14.221Z","etag":null,"topics":["r","r-examples","r-lang","r-language","r-programs","r-scripts"],"latest_commit_sha":null,"homepage":"https://github.com/Eggy115/R","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Eggy115.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["Eggy115"],"patreon":"Eggy115","open_collective":"Eggy115","ko_fi":"Eggy115","tidelift":"Eggy115","community_bridge":"Eggy115","liberapay":"Eggy115","issuehunt":"Eggy115","otechie":"Eggy115","lfx_crowdfunding":null,"custom":["https://www.youtube.com/Eggy115","https://github.com/Eggy115"]}},"created_at":"2023-04-01T16:02:49.000Z","updated_at":"2023-04-09T11:40:21.000Z","dependencies_parsed_at":"2024-05-11T06:02:43.960Z","dependency_job_id":null,"html_url":"https://github.com/Eggy115/R","commit_stats":null,"previous_names":["eggy115/r"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eggy115%2FR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eggy115%2FR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eggy115%2FR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eggy115%2FR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eggy115","download_url":"https://codeload.github.com/Eggy115/R/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232646346,"owners_count":18555272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["r","r-examples","r-lang","r-language","r-programs","r-scripts"],"created_at":"2024-11-16T22:16:52.212Z","updated_at":"2025-01-05T21:46:21.946Z","avatar_url":"https://github.com/Eggy115.png","language":"R","funding_links":["https://github.com/sponsors/Eggy115","https://patreon.com/Eggy115","https://opencollective.com/Eggy115","https://ko-fi.com/Eggy115","https://tidelift.com/funding/github/Eggy115","https://funding.communitybridge.org/projects/Eggy115","https://liberapay.com/Eggy115","https://issuehunt.io/r/Eggy115","https://otechie.com/Eggy115","https://www.youtube.com/Eggy115","https://github.com/Eggy115"],"categories":[],"sub_categories":[],"readme":"# R\n\nThis repository contains R programs and scripts under the GPL v3 license.\n\n## Table of Contents\n- [Getting Started](#getting-started)  \n  - [What is R](#what-is-r)   \n  - [Installing R-Lang](#installing-r-lang)     \n    - [Windows](#Windows)     \n    - [macOS](#macOS)     \n    - [Linux](#Linux)     \n  - [Installing Repository](#installing-repository)  \n- [Usage](#usage)\n  - [Running Scripts](#running-scripts)\n  - [Running Programs](#running-programs)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Getting Started\n\n### What is R\n\nR (R-Lang) is a programming language and environment for statistical computing and graphics. It provides a wide variety of statistical and graphical techniques, including linear and nonlinear modeling, classical statistical tests, time-series analysis, classification, clustering, and more.\n\nR is free and open-source software and is widely used by statisticians, data scientists, and researchers in various fields, including academia, industry, and government. It is highly extensible and has a large ecosystem of packages and libraries that provide additional functionality and tools for various tasks.\n\n### Installing R-Lang\n\nHere are the steps to install R-lang on different operating systems:\n\n#### Windows\n\n1. Go to the [R for Windows page](https://cran.r-project.org/bin/windows/base/) on CRAN (Comprehensive R Archive Network).\n2. Click on the \"Download R x.x.x for Windows\" link (where x.x.x represents the version number).\n3. Click on the \"install R for the first time\" link.\n4. Run the downloaded .exe file and follow the installation wizard.\n\n#### macOS\n\n1. Go to the [R for macOS page](https://cran.r-project.org/bin/macosx/) on CRAN.\n2. Click on the \"Download R-x.x.x.pkg\" link (where x.x.x represents the version number).\n3. Run the downloaded .pkg file and follow the installation wizard.\n\n#### Linux\n\nFor Ubuntu and Debian-based systems:\n\n1. Open a terminal window.\n2. Enter the following command to add the CRAN repository to your sources list:\n\n```\nsudo sh -c 'echo \"deb https://cran.rstudio.com/bin/linux/ubuntu $(lsb_release -cs)-cran40/\" \u003e\u003e /etc/apt/sources.list'\n```\n\n3. Add the CRAN GPG key:\n\n```\nsudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9\n```\n\n4. Update your package lists and install R:\n\n```\nsudo apt-get update\nsudo apt-get install r-base\n```\n\nFor other Linux distributions, refer to the documentation on the [R for Linux page](https://cran.r-project.org/bin/linux/).\n\n\n### Installing Repository\n\n1. Clone the repository\n\n```\ngit clone https://github.com/Eggy115/R.git\n```\n\n2. Install required packages by running the following command in R console:\n\n```\ninstall.packages(c(\"package name\"))\n```\n\n## Usage\n\n### Running Scripts\n\n1. Open R console or RStudio\n2. Navigate to the directory containing the script\n3. Run the script using the `source` command:\n\n```\nsource(\"script_name.R\")\n```\n\n### Running Programs\n\n1. Open R console or RStudio\n2. Navigate to the directory containing the program\n3. Run the program using the `Rscript` command:\n\n```\nRscript program_name.R\n```\n\n## Contributing\n\nContributions are always welcome! Here are some ways you can contribute:\n\n1. Fork the repository and make your changes. \n2. Submit a pull request with your changes.\n3. Create an issue if you find a bug or have a feature request.\n\nPlease make sure to adhere to the [code of conduct](CODE_OF_CONDUCT.md) and the [contributing guidelines](CONTRIBUTING.md).\n\n## License\n\nThis project is licensed under the GPL v3 License - see the [LICENSE](LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggy115%2Fr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feggy115%2Fr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggy115%2Fr/lists"}