Exponent keyboard

Rstudio (Version 1.1.453) Console will not accept exponent character (option i). It shows up in the editor as a "caret" in superscript as expected, but upon entering, e.g., Rstudio says, "> y = x˜2
Error: unexpected input in "y = x�"

Have searching the Knowledge base and forums, seems this is a new issue?

Computer system: macOS High Sierra, Version 10.13.5 MBP 15 2016

option-i on my mac returns ˆ, "U+02C6, ˆ MODIFIER LETTER CIRCUMFLEX ACCENT"

Where the caret ^ is a distinct character, Unicode character: U+2038

x <- 2

xˆ2
# Error: unexpected input in "x�"
 
x^2
# [1] 4
1 Like