Hello,
I find that it becomes difficult to present my code cleanly due to the many different sections. Each section contains minimal comments and lines of code, but between the sections I only have a few line breaks.
I like how Markdown can split code into chunks with titles explaining what the code does, and highlights different sections using slightly different colors.
Is there anything like that for non-markdown code in RStudio? Do other people just use some sort of commented lines? I currently do something like this:
#This is section 1. It does abc
#codecodecodecodecodecodecodecode
#codecodecodecodecodecodecodecode
#codecodecodecodecodecodecodecode
#codecodecodecodecodecodecodecode
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#This is section 2. It does xyz
#codecodecodecodecodecodecodecode
#codecodecodecodecodecodecodecode
#codecodecodecodecodecodecodecode
#codecodecodecodecodecodecodecode
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~