Multiline Comment Workarounds?

后端 未结 10 1127
轮回少年
轮回少年 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 18:51

    In Python you make a multiline comment with 3x single quotes before and after the comments. I tried this in R and it seems to work also.

    Eg.

    '''
    This is a comment
    This is a second comment
    '''
    

提交回复
热议问题