Keyboard shortcut for code chunk in R Markdown for windows gives í

吃可爱长大的小学妹 提交于 2020-07-29 05:18:26

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!