[R] Comments inside a line? Not possible?
dimitri.liakhovitski at gmail.com
Fri Sep 9 18:21:18 CEST 2011
In the guidelines I've read:
"Comment your code. Entire commented lines should begin with # and one space.
Short comments can be placed after code preceded by two spaces, #, and
then one space. "
Just wondering if there is no way to comment something out "in the
middle" of a line? Example:
Desired commented code:
mystrings<-c("a", # want "b" to be commented out, but not "c" # "c")
So that it is read as: mystrings<-c("a","c")
More information about the R-help