Rstudio中代码的多行注释快捷键

1、选种需要注释的代码, ctrl + shift + c进行注释, 再次选中,执行ctrl + shift + c则取消注释

 

(1)选中:

 

 

 

(2)、执行ctrl + shift + c进行注释

 

 

(3)选中

 

 

4、执行ctrl + shift + c,取消注释

 

posted @ 2022-03-21 10:23  小鲨鱼2018  阅读(1355)  评论(0编辑  收藏  举报