Replies: 3 comments 2 replies
-
|
If you hate someone, edit his Overloading the variable T is technically feasible, but it is likely to cause confusion. I believe any reasonable person wouldn’t resort to this. For the vast majority of R users, |
Beta Was this translation helpful? Give feedback.
-
|
(BTW I'm fully on team " From "An Introduction to R" (https://cran.r-project.org/doc/manuals/r-patched/R-intro.html#Logical-vectors-1):
So it does seem reasonable to me to not treat positron/extensions/positron-r/syntaxes/r.tmGrammar.gen.json Lines 268 to 269 in bf88542 |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, all! 🙌 I've got a PR up to change this: #10645 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the grammer highlights the token T or F as being a boolean in R. On a fresh session, T is converted to TRUE, but it's dangerous as a variable assigned to
Toverwrites this behavior and can cause code to fail.The syntax highlighting can be misleading in this regard and I think should be removed from the grammar.
Beta Was this translation helpful? Give feedback.
All reactions