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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to