vscode-R
vscode-R copied to clipboard
Terminal crashes with code: 3221225477
Type: Bug
Error message: "The terminal process "C:\Program Files\R\R-4.2.1\bin\x64\R.exe" terminated with exit code: 3221225477. "
Occurs when using R Interactive terminal to run commands.
Issues #91044 and #94499 are not applicable because I am using 64bit VSCode on Windows 11, but the aforementioned issue threads are relevant only for 32bit installations.
EDIT: typo
Extension version: 2.5.2 VS Code version: Code 1.70.1 (6d9b74a70ca9c7733b29f0456fd8195364076dda, 2022-08-10T06:08:33.642Z) OS version: Windows_NT x64 10.0.22000 Modes:
System Info
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: unavailable_off vulkan: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 15.72GB (4.26GB free) |
Process Argv | --crash-reporter-id e96a925a-10fe-40fe-b19c-4a75fdd0ee2c |
Screen Reader | no |
VM | 0% |
Does the R terminal work in vscode when you use it yourself ?
The crash occurs when using the R terminal interactively. I have been using Rstudio since the past few days and the R terminal doesn't crash when using it. So its only an issue when using it in VSCode
Does it crash if you load R from terminal / powershell (not from within vscode) ? And likewise does it Crash if you load R from the terminal in vscode if vscode-R is disabled ? (sorry just trying to isolate where the problem is coming from).
There is no console crash in Rstudio, it doesn't seem to crash when using it via Powershell on VSCode. When it does crash when using the "R-terminal" it briefly gives a message about running out of memory, but I have tracked memory usage and there doesn't seem to be an overuse of memory.
I keep observing this behavior when using the R - terminal
but not when running R
in a powershell terminal.
Okay I have more information. I had to clean install windows because of some OS driver issues, and this issue resurfaced. The most frequent cause of this issue is trying to use tab completion in R Terminal on VS Code. Is this perhaps caused by me installing the R Tools extension? As soon as I got a warning from VSCode saying R Tools and vscode-R might have conflicts I deleted it, but the crashing persists.