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

R-IDE locks R Markdown files #6

Open
lgaborini opened this issue Sep 8, 2018 · 6 comments
Open

R-IDE locks R Markdown files #6

lgaborini opened this issue Sep 8, 2018 · 6 comments

Comments

@lgaborini
Copy link

lgaborini commented Sep 8, 2018

It often happens that R-IDE spends too much time parsing .Rmd files in Sublime Text.
As a result, the files are locked for a good minute until the indexer fails, so I cannot perform any saving operation in RStudio.
E.g. write in Sublime Text, save, alt+tab to RStudio, run a chunk, perform small edits, save. This last step often fails due to locked files.
However, I can work and save in Sublime Text without problems, any time.

It happens even if the .Rmd file is NOT open in Sublime Text (but it lies in the indexing scope of the current project).
The syntax highlighting is perfectly applied, but this issue forces me to completely close Sublime Text while using RStudio.

Here is what Sublime Text console prints once a .Rmd file is modified in RStudio:

reloading /C/Work/expertise/src/report_curves.Rmd
worker 12328 appears stuck while processing file /C/Work/expertise/src/report_curves.Rmd, killing process
indexing: crawler exited while processing /C/Work/expertise/src/report_curves.Rmd, no symbols recorded

(ok it is not very helpful, but I could not figure out how to increase the verbosity)

Sublime Text 3.1.1 3176
Latest R-IDE
Windows 10 Insider 17738

@randy3k
Copy link
Member

randy3k commented Sep 8, 2018

Thanks. It is not an issue of R-IDE though. You may want to see if SublimeTextIssues has a similar issue or report a new one.

@lgaborini
Copy link
Author

If I disable R-IDE, the problem disappears, and I can work concurrently on Rmd files!

@randy3k
Copy link
Member

randy3k commented Sep 8, 2018

Is it a problem for a specific Rmd file? Or all Rmd files suffer the same issue?

@randy3k
Copy link
Member

randy3k commented Sep 8, 2018

Ya, I could reproduce it. Let me see if I could do anything.

@randy3k
Copy link
Member

randy3k commented Sep 8, 2018

Thanks for the issue. It should be fixed by 53282c3. v0.1.4 is out.

@lgaborini
Copy link
Author

Thank you, it is much better now.
Sometimes it still locks some files, but for less time. Also, the workers are no longer killed, but indexing completes successfully.

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

2 participants