Create a new tmux session.
new_session(name = NULL, prompt = NULL, window_name = NULL,
start_directory = NULL, width = 80, height = 24, detached = TRUE,
shell_command = NULL)
String to be used as session name. If NULL
(default), the
name of the session is determined by tmux
, which is the next unused
integer (starting at 0).
String containing a regular expression that matches all relevant prompts.
String to be used as window name.
String. Working directory this session is run in.
Numeric. Width of inital window. Default 80 characters.
Numeric. Height of initial window. Default 24
lines. By default, tmux
uses one status line, so the effective height
is decreased by one line.
Logical. Default TRUE
. If FALSE
, the R
interpreter
waits for the session to be killed.
String. System command to be invoked when creating the session.
A tmuxr_session
.