Description Usage Arguments Value Note Examples
Create a new tmux session with name name
.
1 2 3 4 5 6 7 8 9 |
name |
A string. Name of the session. If |
window_name |
A string. Name of initial window. |
start_directory |
A string. Working directory this session is run in. |
width |
An integer. Width of initial window. Default: 80. |
height |
An integer. Height of initial window. Default: 24. |
detached |
A logical. If |
shell_command |
A string. Shell command to be invoked when creating the session. |
A tmuxr_session.
Prior to tmux version 2.6, the actual height is one line less than height
.
1 2 3 4 5 6 | ## Not run:
s <- new_session("foo", shell_command = "bash", height = 10)
list_sessions()
kill_session(s)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.