I just realized that there were loads of really useful mathematic symbols when you hold down the Option key on my MacBook.
≤ ≥ ≠ ÷ • « ∑ √
It’s like a wonderland of mathematical symbols and I would love to map these to different functions in R, for wonderous coding.
Edit - I should clarify, I don’t want to set them as variable names, I was hoping to use them in functions. For example ∑ is the mathematical symbol for sum, so:
∑() <- base::sum()
Or square root
√() <- base::sqrt()
Only problem, of course, is that R doesn’t recognize them.
Unexpected Input
I generally program in the Terminal too. Is there any way to force R to recognize special characters?