Closed RamiKrispin closed 8 months ago
Did you turn on the bracketed paste mode in VSCode-R?
That worked!
I am running R inside a containerized environment and I have the r.bracketedPaste
argument set to true
on the .vscode\settings.json
file:
{
"r.alwaysUseActiveTerminal": true,
"r.bracketedPaste": true,
"r.sessionWatcher": true,
"r.plot.useHttpgd": true,
"grammarly.files.include": ["**/README.md", "**/readme.md", "**/*.txt"]
}
I always thought that at the project level, the settings.json
file is the source of truth.
Thanks for the prompt response!
Actually I have no idea what you have said 😜. Anyway, glad that you have figured it out.
When working in a containerized environment with the Dev Container
extension, it should enable you to define the VScode setting for the container regardless of your local VScode settings with the settings.json
file. The issue with the brackets should be taken care by the r.bracketedPaste": true
argument but it seems that it doesn't...
It seems like when assigning a value with
NULL
within afor
loop and executing it from a script file (i.e.,command + enter
), it skips the code below and breaks the loop. For example:results on the radian terminal:
Code will work if running directly on the terminal.
I am running the code with VScode inside a container: