RStudio Markdown file intermittently wont save or run code

Hi all,

I didnt get a reply before but this is still an ongoing issue for me. Details below. Other thing I've noticed is if I click the "Show in new window" button which moves the Markdown file to a new window and then I return it back to the main window this seems to solve the issue and I can save the file/run the code again. It also seems to happen more commonly when working in R code chunks that are quite long and verbose.

Continuing the discussion from RStudio Markdown wont save or run code:

Hi all,

I'm having an issue with RStudio when using it to write a R Markdown file. I will suddenly not be able to save or run any code although the app is still responsive e.g I can highlight and copy recent code. I have to close RStudio completely (without saving) and then re-open the file to get it working again. It will then work for a variable amount of time before repeating. There is no obvious pattern or trigger to this, not typically when running code just suddenly occurs. I cannot find anything similar in other posts except for suggestions to be careful with the "{r}" and " " at the end of each chunk although this doesnt seem to be an issue. Any help would be much appreciated. Please let me know if some sort of report/log can be generated/shared.

Thanks

I believe I have the same issue. Randomly CTRL-Enter stops working. You can still use the console and still edit, but no edits after that will save even though on quitting it prompts. Save button does not function. Chunks will not run. Have to quit and restart to get functionality back. This seems to only happen for me in quarto. I haven't edited lately in an RMD.

This issue persists. It also happens both on my work and home PC. After the last time I had to restart I opened the error log. Means nothing to me but it is filled with the same error repeated (below). There no C:\Users\jenkins\ for one thing.

ERROR system error 10053 (An established connection was aborted by the software in your host machine) [request-uri: /events/get_events]; OCCURRED AT void __cdecl rstudio::session::HttpConnectionImpl::sendResponse(const class rstudio::core::http::Response &) C:\Users\jenkins\workspace\ide\open-source-pipeline\spotted-wakerobin\src\cpp\session\http\SessionHttpConnectionImpl.hpp:156; LOGGED FROM: void __cdecl rstudio::session::HttpConnectionImpl::sendResponse(const class rstudio::core::http::Response &) C:\Users\jenkins\workspace\ide\open-source-pipeline\spotted-wakerobin\src\cpp\session\http\SessionHttpConnectionImpl.hpp:161

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.