在RStudio控制台或脚本写入区域的给定行上,光标在屏幕上闪烁时会从其插入文本的真实位置移开。 假设我想删除给定行上的字符。 我在它的前面点击右键,红色的光标就会闪烁。 但是当我按下退格键时,左侧的六个角色被删除。 这种行为随着行的继续变得更糟,因此在长行的末尾附近,偏移量为13个字符,而屏幕最左侧只有1或2个字符。 我使用Ubuntu Linux 12.10(使用MATE GUI)。
On a given line of the RStudio console or script writing area, the cursor as it flashes on the screen is shifted from its true position, where text is inserted. Say I want to delete a character on a given line. I click right in front of it, and the red cursor flashes where it should. But when I press backspace, the character six spots to the left gets deleted instead. This behaviour gets worse as the line goes on, so near the end of a long line, the offset is of 13 characters while it is only of 1 or 2 characters in the far left of the screen. I use Ubuntu Linux 12.10 (with MATE GUI).
最满意答案
问题出在RStudio字体设置中。 我立即改变了它们,并且偏移消失了。 我将设置逐个更改回原始值,直到最后一次,并且偏移不再回来。 RStudio的支持帮助我完成了这一点。
The problem was in the RStudio font settings. I changed them all at once and the offset vanished. I changed the settings back to their original values one by one till the last, and the offset did not come back. RStudio support helped me through this.
更多推荐
发布评论