You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wanted to report that currently, in R, you can write a string literal using the r'(text here)' syntax. So that should escape the slashes, which it (currently) doesn't.
Also, if you use backtic quotes (that really are the grave accent from Romance languages), in other words, example, around a name, it should enclose symbols (i.e., variables), so that the entire contents should be interpreted as a symbol.
For instance, if I type QA19-21, it shouldn't interpret as QA19 being a symbol and then the minus sign and a 21 numeric literal, but a single symbol, QA19-21.
That's all. Thanks for the website by the way, great stuff.
Best regards,
Victor Souza
The text was updated successfully, but these errors were encountered:
drvictorvs
changed the title
Error in syntax highlighting for R regarding string literals
Two mistakes in R syntax highlighting
Oct 27, 2022
Hey,
Just wanted to report that currently, in R, you can write a string literal using the
r'(text here)'
syntax. So that should escape the slashes, which it (currently) doesn't.Also, if you use backtic quotes (that really are the grave accent from Romance languages), in other words,
example
, around a name, it should enclose symbols (i.e., variables), so that the entire contents should be interpreted as a symbol.For instance, if I type
QA19-21
, it shouldn't interpret as QA19 being a symbol and then the minus sign and a 21 numeric literal, but a single symbol, QA19-21.That's all. Thanks for the website by the way, great stuff.
Best regards,
Victor Souza
The text was updated successfully, but these errors were encountered: