Adding Multiple Comments in R

We all will accept the fact that we all have required at least once in our life to comment the previously written codes.

To comment a single line in RStudio, we can put “#” before each line.

But when we want to comment multiple lines at one go, we can use following in RStuido:-

  • In Windows: CTRL + SHIFT + C

  • In OS-X: COMMAND + SHIFT + C

 

 

Advertisements