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

Duncan Murdoch murdoch.duncan at gmail.com
Tue Oct 18 19:52:41 CEST 2016


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



More information about the R-help mailing list