Closed ConYel closed 5 days ago
R.nvim
doesn't include a language server. The problems in your log indicate that you are loading unnecessary libraries in your ~/.Rprofile
. The use of interactive()
should fix the problem:
if (interactive()) {
# Put here everything that should run only if you are using R interactively.
# Example:
require("colorout", quietly = TRUE)
}
Thanks a lot! That fixed the issue! Would it be possible to have a small note regarding that in the wiki or the README?
Because the problem was in the languageserver
, not in R.nvim
, I think Rnvim
's README is not the appropriate place for a note on this. Someone may add a section on how to configure a complete IDE for R to our wiki and include a note on avoiding loading unnecessary libraries non-interactively.
I added an example of how to properly load colorout
to its README.
Hello and thank you for this great plugin. everytime I start nvim with an Rmd or R file in the lisp log I get this:
Could that be something specific to r language server, R.nvim or something unrelated?
Thank you for your time!