I am trying to understand at a high level what the differences between R Markdown
and R NoteBook
. I know they are interrelated but I would like to figu
Here's one practical difference I found :
When you need to comment out a part of text,
RMarkdown inserts #
in every line of your text, whereas
RNotebook neatly encapsulates text between a single pair of signs (as in html files)
One may say, what a trivial difference. However, just because of it, I now always use R Notebook (instead of RMarkdown) in RStudio for all my documents. In everything else, they seem the same (for my needs, at least, such as generating html's and pdf's)
Otherwise, my comments suddenly become headers,like below:
# This part is commented out, but will show as Heading 1 font text