Multiline Comment Workarounds?

后端 未结 10 1128
轮回少年
轮回少年 2020-11-30 18:36

I (sort of) already know the answer to this question. But I figured it is one that gets asked so frequently on the R Users list, that there should be one solid good answer.

10条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-30 19:06

    A neat trick for RStudio I've just discovered is to use #' as this creates an self-expanding comment section (when you return to new line from such a line or insert new lines into such a section it is automatically comment).

提交回复
热议问题