-
Notifications
You must be signed in to change notification settings - Fork 23
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
RBuildTags gives message: 'file "etags" exists ...' but it doesn't. #349
Comments
I didn't try to reproduce... When I read the first sentence of the bug report, I already knew what was causing the problem: In Lua, |
It tried the etags branch. It works now for R and r files. That's great ! Thanks you very much for your very fast reaction. I think the best way, is to source("myfunc.R") in Rmd-files in order to be able to use tags, isn't it ? |
I remember using this feature only very infrequently and a long time ago. The function was created with someone developing an R package in mind. The function should be helpful in the "R" directory. Possibly there is a better LSP alternative... |
Trying LSP ( |
I'll merge the "etags" branch and close this issue. However the feature can be removed in the future if we agree that LSP is better. Currently, LSP recognizes R functions in Thanks for reporting the bug and for trying the branch! |
You're welcome. Thanks for all your explanations. I think I need first to setup LSP for tryout, but I didn't find a simple setup and I'm a lua dummy. Perhaps we shouldn't remove Would LSP also find rf_Stats in the following declaration. I remind you that I have no idea about the capacity of languageserver. You surely better know what to keep and to remove. |
I agree that this could be eventually be removed. |
@PMassicotte : I can't find a minimal configuration for air lsp on r.nvim. I found only the following Note: If you are using the |
|
OK thanks a lot for the indication. |
As mentioned by @jalvesaq, you could try to install |
I've created a newdirectory
and I copied myfunc.R inside
opend it with nvim myfunc.R
launched R
:RBuildTags
gives me the following messagesThe file "etags" exists. Please, delete it and try again.
I found the same message here below but I can't find an etags file in the directory to delete.
Corresponding to the help message RBuildTags only creates etags files in the working directory, doesn't it ?
Can you reproduce this. Can You tell me if etags works also for Rmd and Rnw files or is it limited to R and r files (default pattern in rtag).
Thanks in advance !
The text was updated successfully, but these errors were encountered: