I am a MATLAB user seeking to evaluate and transition to RStudio. MATLAB Livescripts are similar to Jupyter and are well described at:

MATLAB Livescript filetypes are .mlx What is the equivalent filetype in RStudio?

What is the equivalent of MATLAB Livescript in R Studio?

It would be nice to be able to summon the simmer vignette and single step through the commands like a MATLAB Livescript or Jupyter notebook

install.packages("simmer")

vignette("simmer-04-bank-1")