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.
Have a look at the function reference to learn more about what tmuxr
has to offer.
Installation
tmuxr
can be installed from this repository using remotes
:
# install.packages("remotes")
remotes::install_github("jeroenjanssens/tmuxr")