Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R - shortcut for date and breakline with # -----

I inadvertently press a shortcut and a really nice sort of break line appeard with the date.

It look something like

# 23 Jun 2010 --------------------

Does someone have an idea of the shortcut in question ??

(I work on an mac!)

In RStudio !

like image 712
giac Avatar asked Sep 06 '25 03:09

giac


1 Answers

you typed ts. To disable or change this, go to tools, global options, code, then at the bottom "edit snippets" then scroll down to the bottom.

Further explanation: https://support.rstudio.com/hc/en-us/articles/204463668-Code-Snippets?version=0.99.441&mode=desktop

like image 161
hedgedandlevered Avatar answered Sep 07 '25 22:09

hedgedandlevered