Re: [R] tar()/untar() argument symmetry

2016-10-18 Thread Roebuck,Paul L
On 10/18/16, 12:52 PM, "Duncan Murdoch" wrote: >On 18/10/2016 12:38 PM, Roebuck,Paul L wrote: >> Any reason untar() has an "exdir" argument (the equivalent of "tar -C"), >> but tar() does not? > >Because you can specify the source directory in the files argument using >list.files(). There's no n

Re: [R] tar()/untar() argument symmetry

2016-10-18 Thread Duncan Murdoch
On 18/10/2016 12:38 PM, Roebuck,Paul L wrote: Any reason untar() has an "exdir" argument (the equivalent of "tar -C"), but tar() does not? Because you can specify the source directory in the files argument using list.files(). There's no need to duplicate that in tar(). Duncan Murdoch _