-
Notifications
You must be signed in to change notification settings - Fork 124
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
Unable to install nvimcom from Vim (Windows, non-admin user) #130
Comments
This might be useful: #100 |
Thanks for the link. I actually found a slightly simpler and more effective fix, after reading the following Stack Overflow posts: I think you were correct in the previous issue in that there was an incompatibility between Rtools and R. Here is what I did, in case it helps anyone else in a similar situation: My problem is that I cannot change the system PATH, as I do not have admin rights. I changed my user PATH (click Start > type "environment" and select "Edit environment variables for your account"), and added the paths to my local (user) installation of Rtools:
Note: the second one is NOT the default suggested by Rtools during installation ( Changing the user PATH may not be enough, however (see Stack Overflow posts linked above). I noticed that in R,
I have no idea if that is sane or sensible, but it seemed to work! I opened a new window with an Rscript in gVim, typed I hope that helps. |
Thanks for the feedback. It will be useful for other people. |
I improved the detection of causes of errors when building nvimcom on Windows: 3fd0793 |
I am trying to get Nvim-R to work on my work computer (Windows 7, 64-bit), without admin rights.
I managed to extract both R and gVim (to
~/AppData/Local/Programs/
). I also installed Rtools, and edited the PATH variable for my account; I even manually added the path to Rtools to the PATH in R via .Rprofile for the user.When I try to launch R from gVim, installation of nvimcom always fails. There are two errors in the log:
I notice that under
*** arch - i386
, everything seems to work fine. The errors are under*** arch - x64
Is there a way to install nvimcom without needing Rtools or admin rights? It would be so much easier if this could be done by
install.packages("nvimcom")
(although I recognize that this would be extra work for the developer).The text was updated successfully, but these errors were encountered: