[Rd] tar R command

From: Dario Strbenac <D.Strbenac_at_garvan.org.au>
Date: Mon, 29 Nov 2010 14:00:07 +1100 (EST)


Hello,

The documentation for the tar command leads me to think there is an internal implementation when the command can't be found in the OS.

However, it doesn't seem to be the case, as I get an empty .tar file generated on a small example I made :

> dir(pattern = "jpg")

[1] "MA56237502_635.jpg"
> file.info("MA56237502_635.jpg")

                     size isdir mode               mtime               ctime               atime exe
MA56237502_635.jpg 229831 FALSE 666 2010-11-29 13:05:49 2010-11-29 13:00:36 2010-11-29 13:00:36 no
> tar("example.tar", files = dir(pattern = "jpg"))
> file.info("example.tar")

            size isdir mode mtime ctime atime exe example.tar 1024 FALSE 666 2010-11-29 13:43:29 2010-11-29 13:42:30 2010-11-29 13:42:30 no

Is this an unimplemented feature ?

> sessionInfo()

R version 2.12.0 (2010-10-15)
Platform: x86_64-pc-mingw32/x64 (64-bit)

...                ...               ...

Thanks,
       Dario.

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 29 Nov 2010 - 03:02:03 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 29 Nov 2010 - 08:30:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive