Tag: Comment code in R

  • Comment out multiple lines in R or uncomment

    Comment out multiple lines in R or uncomment

    Here is how to comment out multiple lines in R by using the shortcut Ctrl + Shift + C or other techniques. In RStudio, you can comment and uncomment a block of code by using a shortcut or GUI. Commenting is very useful if you want to keep a peace code for later or experiment…