{"id":14062749,"url":"https://github.com/gexijin/RTutor","last_synced_at":"2025-07-29T14:31:21.185Z","repository":{"id":64630934,"uuid":"576806748","full_name":"gexijin/RTutor","owner":"gexijin","description":"Chat with your data via AI.   https://RTutor.ai","archived":false,"fork":false,"pushed_at":"2025-03-18T22:10:02.000Z","size":3402,"stargazers_count":320,"open_issues_count":25,"forks_count":52,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-26T10:54:08.645Z","etag":null,"topics":["ai","statistics"],"latest_commit_sha":null,"homepage":"https://RTutor.ai","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gexijin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-11T03:14:02.000Z","updated_at":"2025-07-25T21:48:09.000Z","dependencies_parsed_at":"2024-01-14T01:53:34.544Z","dependency_job_id":"6fd4eefa-6087-4b59-b717-7080215d9ad3","html_url":"https://github.com/gexijin/RTutor","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/gexijin/RTutor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gexijin%2FRTutor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gexijin%2FRTutor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gexijin%2FRTutor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gexijin%2FRTutor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gexijin","download_url":"https://codeload.github.com/gexijin/RTutor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gexijin%2FRTutor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267702906,"owners_count":24130463,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ai","statistics"],"created_at":"2024-08-13T07:02:13.085Z","updated_at":"2025-07-29T14:31:21.169Z","avatar_url":"https://github.com/gexijin.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# RTutor.ai - Talk to your data via AI\nAn R package hosted at [RTutor.ai](https://RTutor.ai). \u003cbr\u003e\nContact Steven Ge on [LinkedIn](https://www.linkedin.com/in/steven-ge-ab016947/) or [Twitter.](https://twitter.com/StevenXGe) Reach the RTutor team by email, ge@orditus.com.\n\nNo code? No problem. Analyze data with simple, natural language. Upload your data, ask questions, and get results in seconds!\n\nRTutor is an AI-based app that can quickly generate and test R code. Powered by API calls to OpenAI's ChatGPT or other models, RTutor translates natural languages into R scripts, which are then executed within the Shiny platform. An R Markdown source file and HTML report can be generated. \n\n# Video tutorial\nWe highly recommend that users watch this 10-min [YouTube video.](https://youtu.be/a-bZW26nK9k)\n\n# Install R Package\n\nThis repository is updated frequently. We suggest users reinstall everytime before use, so that you have the most recent version. Visit our [Github Wiki.](https://github.com/gexijin/RTutor/wiki) for additional information\n\n### 1. Update R and RStudio to the most recent version.\n### 2. Install the RTutor package\nRun this code in RStudio:\n``` r\n# Install 'remotes' package\nif (!require(\"remotes\")) {\n  install.packages(\"remotes\")\n}\nlibrary(remotes)\n\n# Install 'heyshiny' package, for voice input\ninstall_github(\"jcrodriguez1989/heyshiny\", dependencies = TRUE)\n\n# Install 'RTutor' package\ninstall_github(\"gexijin/RTutor\")\n```\n\n### 3. Install other R packages when prompted.\nIf you'd like to use additional R packages for analyzing your data, you should install those on your computer too.   \n   \n### 4. Obtain an API key from OpenAI\n\u003e 1. Create a personal account at [OpenAI](https://platform.openai.com/docs/overview).\n\u003e 2. After logging in, click 'Quickstart' at the sidebar on the left.\n\u003e 3. Click 'Create an API key in the dashboard here' underneath the heading 'Create and export an API key'\n\u003e 4. Click 'Create a new secret key' to create a key, which can be copied.    \n\u003e Currently, the first $5 of usage is free. If you exceed this, add a payment method to your account.    \n\u003e Then navigate to 'Usage' at the sidebar on the left and set usage limits. $3-$5 per month is more than enough for most people.\n\n### 5. Use the API key with RTutor\nThere are several ways to do this:   \n   \n\u003e * Once RTutor is running, click on the 'Settings' tab and paste in your API key.\n\u003e * You can also save this key as a text file called \"api_key.txt\" in the working directory.\n\u003e * Or, you can create an environment variable called \"OPEN_API_KEY\" where the value is your API key. Here are the instructions for [Windows](https://docs.oracle.com/en/database/oracle/machine-learning/oml4r/1.5.1/oread/creating-and-modifying-environment-variables-on-windows.html), [Mac](https://phoenixnap.com/kb/set-environment-variable-mac), and [Linux](https://linuxize.com/post/how-to-set-and-list-environment-variables-in-linux/).   \n   \n### 6. To start RTutor\nRun the following code in RStudio:\n``` r\nlibrary(RTutor)\nrun_app()\n```\n\n\n\n# License\n(CC BY-NC 3.0) Non-commercial use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgexijin%2FRTutor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgexijin%2FRTutor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgexijin%2FRTutor/lists"}