README.md

tmuxr

R build
status Travis-CI build
status codecov Lifecycle:
experimental CRAN_Status_Badge

Overview

tmuxr is an R package that allows you to manage tmux and interact with the processes it runs. It features a pipeable API with which you can create, control, and capture tmux sessions, windows, and panes.

Demonstration

The recording below demonstrates various capabilities of tmuxr such as: running processes, sending keys, splitting windows, and capturing panes. Note that normally, managing tmux and the processes it runs is done in a detached mode, so you wouldn’t see anything, but the result would be the same.

tmuxr
demonstration

Have a look at the function reference to learn more about what tmuxr has to offer.

Installation

tmuxr is available through CRAN and can be installed with install.packages("tmuxr"). The package is under active development though and the latest set of features can be obtained by installing from this repository using devtools:

# install.packages("devtools")
devtools::install_github("datascienceworkshops/tmuxr")

Compatibility

We regularly test tmuxr on Ubuntu with tmux versions 2.1 through 3.1b and on macOS with the latest version of tmux provided by Homebrew. tmuxr might work on Windows using Cygwin or WSL, but we haven’t tested this.

License

The tmuxr package is licensed under the MIT License.



Try the tmuxr package in your browser

Any scripts or data that you put into this service are public.

tmuxr documentation built on July 1, 2020, 5:19 p.m.