This is perhaps rather a minor question...
but just a moment ago I was looking through some code I had written and noticed that I tend to just use ="something"
and ='something_else'
completely interchangeably, often in the same function.
So my question is: Is there R code in which using one or other (single or double quotes) has different behaviour? Or are they totally synonymous?
?Quotes
help page thx. my bad.help.search("topic")
, using your preference of single or double quotes, of course.help.search(" ' ")
orhelp.search(" " ")
?help.search("quote")
orhelp.search('quote')
.or help.search(" \" ")
LOL as in "Single quotes need to be escaped by backslash in single-quoted strings, and double quotes in double-quoted strings."