Skip to content
Prev 255690 / 398503 Next

detect filetype (as in unix 'file')

On Sun, 3 Apr 2011, Jeroen Ooms wrote:

            
No, but what is wrong with using system()?

'file' is large and complex because it tries to be comprehensive (but 
it still does not know about some common systems, e.g. 64-bit Windows 
binaries).  There simply is no point in replicating that in R: which 
is why we chose rather to port 'file' to Windows and provide in in 
Rools.