问题
Using RStudio for windows. Help says keyboard shortcut for inserting code chunk is Ctrl + Alt + i, which should give me:
```{r}
```
Instead, I get í (accented i, not bold...)
What is the keyboard shortcut to insert code chunks in this case?
回答1:
I've faced similar problem. To solve it, I changed the keyboard setting, I use windows 10:
start -> setting -> time & language -> Region & language -> below +add language click the windows display language - > options -> add a keyboard, I choose US Qwerty -> change the keyboard on the right bottom of the corner side beside date & time, change it to eng us keyboard
回答2:
Fastest way is to assign new Shortcut:
Tools >> Modify Keyboard Shortcuts >> find relevant Shortcut >> click inside >> Add new shortcut
回答3:
The Case is Happening when you select Keyboard Type (ENG - INTL) or Some Other. Change Your Keyboard by pressing (Windows + Space) and Select Keyboard Type(ENG - US)
回答4:
On Mac OS you can use this shourtcut:
⌘
+ ⌥
+ I
回答5:
I have a laptop with Windows 10 Home installed. Under "Typing Settings" --> "Advanced Keyboard Settings" --> chose "English (Singapore) - US". That fixed the issue.
来源:https://stackoverflow.com/questions/42785311/keyboard-shortcut-for-code-chunk-in-r-markdown-for-windows-gives-%c3%ad