Arguments file the name of the file which the data are to be read from.
Each row of the table appears as one line of the file. Alternatively, file can be a connection , which will be opened if necessary, and if so closed at the end of the function call. However, since the file must be read twice, this will be resource-intensive except on seekable connections. Values on each line of the file are separated by this character. See scan for the behaviour on quotes embedded in quotes.