I would like to use the zip(utils) function, unzip function works fine, however, call zip e.g. zip (“out”, “file.txt”) does not return the file (“out.zip”) to the working directory and R does not return any message at all – any error message and no massage about successful compression – if compression is successful R returns info such as “deflate – 40%.” I checked various R versions and files – zip still doesn’t work. On another computers, everything works fine. I have Windows XP. Furthermore, when I type the wrong name of the zip file to compress e.g. zip(“out”, “this_file_doesnt_exist.txt”) R does not return any error at all ! I don’t know much about computers, what should I check ? what could be problem in my case ? I turned off antivirus that didn’t help.
I would like to use the zip(utils) function, unzip function works fine, however, call
Share
You can use
gzipfrom the packageR.utils