You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Ctrl + L to clear the R console. However, whenever I send commands from a script to the console using r.executeInTerminal. (In my case bound to Ctrl + Enter), the console "comes down" again, with all its previous contents. (It basically "undoes" Ctrl +L)
This does not happen when I type commands directly into the R console. And its also not happening when using Ctrl + R in the "vanilla" R programm.
As they say, a picture is worth more than a thousand words:
Things I considered:
Couldn't find a description of my issue anywhere online.
Scrolled through the settings for the extension, nothing striking me.
As mentioned earlier, this does not happen in the "standard" R program.
Any hints or help would be much obliged. :)
The text was updated successfully, but these errors were encountered:
I'm also running R in VSCode and Ctrl + L does not clear the console. If I open RGui on its own, Ctrl + L works fine. I'm not sure what the problem is, but as a workaround I simply made a custom keyboard shortcut in VSCode.
First, open VSCode's keybindings.json by typing Ctrl + Shift + P to bring up the Command Palette (alternatively: View > Command Palette)
In the Command Palette search box, input "Preferences: Open Keyboard Shortcuts (JSON)" and select it.
This will open the Keyboard Shortcuts (JSON) editor, where you can now enter the following: {"key": "ctrl+l", "command":"workbench.action.terminal.clear"}
Problem:
I use
Ctrl + L
to clear the R console. However, whenever I send commands from a script to the console usingr.executeInTerminal
. (In my case bound toCtrl + Enter
), the console "comes down" again, with all its previous contents. (It basically "undoes"Ctrl +L
)This does not happen when I type commands directly into the R console. And its also not happening when using
Ctrl + R
in the "vanilla" R programm.As they say, a picture is worth more than a thousand words:
![Animation](https://user-images.githubusercontent.com/84206086/118333079-5fb69100-b50b-11eb-93ce-4375218cbd2f.gif)
Things I considered:
Any hints or help would be much obliged. :)
The text was updated successfully, but these errors were encountered: