RStudio v1.1 crashes - "Unable to establish connection with R session"

Thank you for your reply! I will start a new issue. I removed Shiny and git2r (I don't have a GitHub package), but the error returns. What made you think it was related to those packages? Understanding your method might help me fix this dastardly problem. :slight_smile:

@mhschel please post the link to the new post as soon as you create one, so I can help there. It's just a way of keeping info tidy.

1 Like

@Filipe

Thank you.

I have exactly the same problem as @Filipe. While working only on one specific package almost every time I save a file in it, Rstudio crashes with "Unable to establish connection".
I've added logs here - https://support.rstudio.com/hc/en-us/community/posts/115008249987-RStudio-constantly-crashes-but-only-while-working-on-one-package?page=1#community_comment_115005532047
I have following data.table version:

packageVersion("data.table")
[1] ‘1.10.4.2’

I'll try to update it and see how it goes.

@mishabalyasin did removing or updating data.table solve your problem? I would update it not from the CRAN version but from the GitHub developer version.
I'm not sure if the patched version was already released on CRAN.

1 Like

Looks like it. I've updated data.table and at least yesterday and today I have had 0 issues. I still have flashbacks every time I hit Ctrl+S though :slight_smile:.

1 Like