Skip to content

Alias to automatically start R and, then, the Object Browser

Jakson Alves de Aquino edited this page Nov 3, 2023 · 1 revision

If frequently you want to start R and the Object Browser immediately, but occasionally you only want to look at the code, you could add different aliases to your shell configuration for each task. Example for ~/.config/fish/config.fish:

alias v "nvim"
alias r "nvim --cmd 'let R_auto_start = 1 | let R_objbr_auto_start = 1'"