The problem comes with multiline comments.Python does not support multiline comments. At least not directly. There aretwo ways to achieve multiline comment in Python: Use # at the beginning of each line of the code block you want to comment (achievable with the keyboard shortcut of your co...
The next time you find yourself wanting a multi-line comment in Python, ask yourself, what do I need this for? If you need totemporarily comment out a block of code, you can probablyuse a keyboard shortcut in your text editor.
Notepad++ recognizes R code and also allows you to comment out code with theCtrl+QorCommand+Qshortcut. If you use Emacs, you can also useM-x comment-region. To revert the action, useM-x uncomment region. You can also use thescan()function to insert any arbitrary text inside your code,...