parseValidFile {psichomics} | R Documentation |
Tries to recognise the file format and parses the content of the given file accordingly.
parseValidFile(file, formats, ...)
file |
Character: file to parse |
formats |
List of file formats to check |
... |
Extra parameters passed to fread |
The resulting data frame includes the attribute tablename
with the name of the data frame
Data frame with the contents of the given file if the file format is
recognised; otherwise, returns NULL