loadFile {psichomics} | R Documentation |
Tries to recognise the file format and parses the content of the given file accordingly.
loadFile( file, formats = loadFileFormats(), ..., verbose = FALSE, multiple = FALSE )
file |
Character: file to parse |
formats |
List of file formats to check |
... |
Extra parameters passed to fread |
verbose |
Boolean: detail steps while parsing |
multiple |
Boolean: expect more than one file? |
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