Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

languageserver crashes with regex in file #640

Open
johnroxton opened this issue Nov 14, 2023 · 0 comments
Open

languageserver crashes with regex in file #640

johnroxton opened this issue Nov 14, 2023 · 0 comments

Comments

@johnroxton
Copy link

johnroxton commented Nov 14, 2023

I am using R in VSCode with languageserver on Win10. However, when I open a simple .R file like:

library(data.table)

list <- fread("test.txt")
list[, V2 := gsub("\xc3\x97", " x ", V2)]
list[, V2 := gsub("\ud7", " x ", V2)]
list[, V2 := gsub("\x8a", "S", V2)]

I get the error message "Connection to server got closed. Server will not be restarted." and "Client R Language Server: connection to server is erroring. read ECONNRESET"
I am not sure if there is a problem with individual settings on my system, but I have not come across any problem with that in my other code files. I was not able to reproduce the error on my Ubuntu machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant