R exiting with error code 0 #4437
Replies: 7 comments 12 replies
-
In addition to output from |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
This looks like the important bit here:
|
Beta Was this translation helpful? Give feedback.
-
@ravichowdhury88 Would it be possible to share some details about the file you are editing when you see these errors? Is it a We do find |
Beta Was this translation helpful? Give feedback.
-
Hello, I have the same issue (R needed to restart, exit status 0).
It seem to be completly random...It's happenned very often this morning, so now I copy/paste my code to console. Positron install info :
I use R 4.3.2. |
Beta Was this translation helpful? Give feedback.
-
I was writing code on a .qmd file and it gave me the error again, I wasn't even trying to execute a code.
Positron Language Server Log
Positron R Extension Log
|
Beta Was this translation helpful? Give feedback.
-
I can confirm that the issue is actually only with a Quarto (.qmd) file. I copied my code in a .R file and ran it without any issues. |
Beta Was this translation helpful? Give feedback.
-
The R session will randomly exit and I have to restart R, all the environment variables are removed as well. I get error "R 4.4.1 exited (exit code 0)"
Here is the error message below:
Positron Language Server Output
[Error - 4:15:55 PM] Client Positron R Language Server (4.4.1): connection to server is erroring. read ECONNRESET Shutting down server. [Error - 4:15:55 PM] Client Positron R Language Server (4.4.1): connection to server is erroring. read ECONNRESET Shutting down server. [Error - 4:15:55 PM] Client Positron R Language Server (4.4.1): connection to server is erroring. Cannot call write after a stream was destroyed Shutting down server. [Error - 4:15:55 PM] Stopping server failed Message: Cannot call write after a stream was destroyed Code: -32099 [Error - 4:15:55 PM] Stopping server failed Message: Cannot call write after a stream was destroyed Code: -32099 [Error - 4:15:55 PM] Stopping server failed Message: Cannot call write after a stream was destroyed Code: -32099 [Error - 4:15:55 PM] Stopping server failed Message: Cannot call write after a stream was destroyed Code: -32099
Positron R Extension Output
2024-08-21 15:44:38.141 [info] Creating Positron R 4.4.1 language client (port 51693) 2024-08-21 15:44:38.141 [info] ARK (R 4.4.1) language client state changed uninitialized => starting 2024-08-21 15:44:38.223 [info] ARK (R 4.4.1) language client init successful 2024-08-21 15:44:38.223 [info] ARK (R 4.4.1) language client state changed starting => running 2024-08-21 16:15:55.484 [warning] ARK (R 4.4.1) language client error occurred (port 51693). 'Error' with message: read ECONNRESET. This is error number undefined. 2024-08-21 16:15:55.486 [warning] ARK (R 4.4.1) language client error occurred (port 51693). 'Error' with message: read ECONNRESET. This is error number undefined. 2024-08-21 16:15:55.486 [info] ARK (R 4.4.1) language client state changed running => stopped 2024-08-21 16:15:55.503 [warning] ARK (R 4.4.1) language client error occurred (port 51693). 'Error' with message: Cannot call write after a stream was destroyed. This is error number 1.
Beta Was this translation helpful? Give feedback.
All reactions