Description Usage Arguments Note See Also Examples
Opens a terminal emulator in directory path
.
The possibilities to start a terminal are:
Create a tmux split if the R session runs inside tmux.
Create a new RStudio terminal if the R session runs inside RStudio.
If set, use the options “gtfo.terminal.bin” and “gtfo.terminal.args” to open a new terminal or terminal tab.
Open one of the hard-coded terminals. See note for details.
The order of the different strategies can be controlled via the option “gtfo.term.order” (default: c("tmux", "rstudio", "opts", "default")
).
1 |
path |
[ |
The default terminal will determined as follows:
If called from iTerm
, start iTerm
. Start Terminal
otherwise.
Try to find the one of terminals in $PATH
via Sys.which
and open the first one found:
kitty
, alacritty
, urxvt
,
gnome-terminal
, konsole
,
xfce4-terminal
, lxterminal
.
Start powershell.
fm
to start a file manager and browse
to start a browser.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.