-
Notifications
You must be signed in to change notification settings - Fork 79
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
openxlsx does not find RTools #111
Comments
when you do |
Oh... you are right. I forgot to set the path variable when installing Rtools, Sys.getenv("PATH") told me. Works perfectly now. Thank you, Alex! |
Sorry to bump this thread but I have the exact same problem. I have no idea how to "set the path variable".. Can you please help me?
|
Worked perfect. Thanks a lot :) Date: Mon, 11 Jan 2016 02:03:09 -0800 I've added a vignette to explain this. During the install of Rtools you need to tick the box to edit the system PATH An alternative to this is to set it within the R session with Sys.setenv("R_ZIPCMD" = "C:/Rtools/bin/zip.exe") ## path to zip.exe — |
Hi there, how about this error on Linux? |
Hi Alex, I was curious also about Linux. I think i need to set the R_ZIPCMD system variable: however don't know where to set it to, I have installed zip, but don't know where it is in rhel. Any help would be appreciated. |
Nm figured it out.
|
Hi Alex, zip diagnostic: GetVolumeInformation failed I think the loadWorkbook function is working as a get an object in my environment but when I try the saveWorkbook function I get the message that RomanBi reported in his/her original message. I don't know if it is relevant that I am working on a system where I don't have administrator rights and can't alter things on the C drive. I'm a novice in these things and any help you can provide would be much appreciated. |
I've recently had to switch from Linux to Windows and find the instructions for installing R on Windows need cleaning up. Even though Rtools is big, it isn't really an optional component for serious use. Rather than challenging the user with the modification of the PATH, that point in the install should offer the option of downloading the 100M Rtools package and modify the PATH at the same time. More to the point of the present topic, telling people what they should have done during install after the fact isn't helpful. Moreover, telling them that (in the likely event they didn't pre-install Rtools before installing R) such an essential component should be made available by modifying the PATH at the start of every R session -- rather than telling them how to permanently modify the PATH as though they had done so during install -- is not very helpful. |
@jabowery does this have anything to do with this specific R package (openxlsx)? |
My point is that |
Hey,
I installed openxlsx and it works perfectly on my desktop, however it does not work on my notebook. The versions of RTools, R and openxlsx are the same.
There is one closed error report describing the same problem. It could be solved be deinstallation of RTools, cleaning the registry and reinstallation of RTools. However, this did not work for me.
Thanks
The text was updated successfully, but these errors were encountered: