I am trying to create a zip file from multiple files using the zip function in r, but I keep getting this error message:
running command \'\"zip\" -r9X \"data.
I was able to solve the problem by removing the write-protection on ~/Users/<NAME>/Documents/R/win-library.
Here is how I solved this problem on my Windows 7 computer:
Rtools from HERE.Rtools is installed. In my case it is at C:\Rtools.C:\Rtools\bin path to the system path.Adding C:\Rtools\bin to the system path:
Control Panel >> System and Security >> SystemAdvanced System SettingsAdvanced tabEnvironmental Variables... buttonPath variable and click Edit buttonC:\Rtools\bin. If there is already a value, then add ;C:\Rtools\bin to the end of it. I hope this helps. I found the solution HERE.