Reputation: 4929
I am using R Studio, and noticed that there's a little orange # between the code window and the console that lists the subtitle within your code that you're working under. How can I indicate a label for a subtitle? is it
#subtitle#
or
#subtitle
or what? Neither of these seems to do it.
Upvotes: 3
Views: 3100
Reputation: 49810
On a single line, add #
, your label, then 4 or more hyphens after your label
# My chunk ----
Alternatively, you can insert a code section with CtrlShiftR or CommandShiftR on Mac
Upvotes: 6