{"id":28857258,"url":"https://github.com/thhaase/micro-rrepl","last_synced_at":"2026-04-21T16:36:34.447Z","repository":{"id":300103588,"uuid":"1005012051","full_name":"thhaase/micro-rrepl","owner":"thhaase","description":"Plugin for the micro terminal texteditor allowing REPL-based workflows","archived":false,"fork":false,"pushed_at":"2025-11-10T11:04:40.000Z","size":25,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-10T13:05:43.236Z","etag":null,"topics":["micro-editor","micro-editor-plugin","r","r-programming"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thhaase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-19T14:22:30.000Z","updated_at":"2025-11-10T11:04:44.000Z","dependencies_parsed_at":"2025-11-10T13:01:54.434Z","dependency_job_id":null,"html_url":"https://github.com/thhaase/micro-rrepl","commit_stats":null,"previous_names":["thhaase/micro-rrepl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thhaase/micro-rrepl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thhaase%2Fmicro-rrepl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thhaase%2Fmicro-rrepl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thhaase%2Fmicro-rrepl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thhaase%2Fmicro-rrepl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thhaase","download_url":"https://codeload.github.com/thhaase/micro-rrepl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thhaase%2Fmicro-rrepl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32100555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["micro-editor","micro-editor-plugin","r","r-programming"],"created_at":"2025-06-20T01:15:25.365Z","updated_at":"2026-04-21T16:36:34.440Z","avatar_url":"https://github.com/thhaase.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# micro-rrepl\nThis plugin turns micro into an extremely simple and lightweight R ID. It integrates an interactive terminal with tmux for the REPL workflow most R users are used to.\n\n\n## Usage\n### Start\nExecute `\u003e rrepl` as a micro-command to start the R session\n`ctrl + q` closes the r-session (and stops the tmux process in the background automatically)\n\n### Interact\n- `Ctrl + R` sends the current line of the cursor or the selected lines to the R session\n\n- `Ctrl + P` inserts a baseR pipe \n\n- `Ctrl + #` inserts the R assign arrow \" \u003c- \"\n\n### More\n- `\u003e rrepl-stop` kills R and cleans up\n\n\n## Installation\n\n**Linux:**\n\n```\nwget https://github.com/thhaase/micro-rrepl/archive/main.zip -O rrepl.zip\nunzip rrepl.zip\nmkdir -p ~/.config/micro/plug/rrepl\nmv micro-rrepl-main/* ~/.config/micro/plug/rrepl/\nrmdir micro-rrepl-main\nrm rrepl.zip\n```\n\n## tmux styling\n\nFor the plugin to work you need tmux:\n\n```\nsudo apt update\nsudo apt install tmux\n```\n\nI found the default tmux a bit bland. Tmux look and usage can be customized with a `.tmux.conf` file. \n\nFirst download the catpuccin theme: \n```\nmkdir -p ~/.config/tmux/plugins/catppuccin\ngit clone -b v2.1.3 https://github.com/catppuccin/tmux.git ~/.config/tmux/plugins/catppuccin/tmux\n```\n(more info [in the according repository](https://github.com/catppuccin/tmux/blob/main/docs/tutorials/01-getting-started.md))\n\n\nAfter that copy the following code to create my `.tmux.conf` file.\n```\n# ---- CATPUCCIN SETUP ----\nset -g @catppuccin_flavor 'mocha'\nrun-shell ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux\n\n# Make the status line more pleasant.\nset -g status-left \"\"\nset -g status-right '#[fg=#{@thm_crust},bg=#{@thm_teal}] session: #S '\n\n# Ensure that everything on the right side of the status line\n# is included.\nset -g status-right-length 100\n# ---- ----\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthhaase%2Fmicro-rrepl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthhaase%2Fmicro-rrepl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthhaase%2Fmicro-rrepl/lists"}