Dominick Samperi
2010-Nov-29 14:58 UTC
[Rd] CRAN package archives (tar.gz) now require --no-same-owner under Windows?
Hello, I have observed with the latest version of Rtools and R 2.12.0 under Windows Vista or Windows 7 (64bit) that tar issues errors of the form "cannot change ownership to uid 1001, gid 100: invalid argument" when one uses: tar -xvzf pkg_version.tar.gz There is an easy work-around: tar --no-same-owner -xvzf pkg_version.tar.gz Another possibility is to use an environment variable: set TAR_OPTIONS=--no-same-owner Curiously, this error message does not appear when I extract package archives that I have created myself, so it appears to be related to the particular environment and tools used at CRAN to create package archives. Any tips or ideas? Thanks, Dominick [[alternative HTML version deleted]]