EOF within quoted string

ERROR WARNING  read.tableEOF within quoted string

# read.table WARNING while reading data from file 

myData = read.table("myDataFile.csv", header=TRUE, sep="\t", row.names=1, fill=FALSE)

  Warning messages:

  1: In scan(file = file, what = what, sep = sep, quote = quote, dec = dec,  :

    EOF within quoted string

  2: In scan(file = file, what = what, sep = sep, quote = quote, dec = dec,  :

    number of items read is not a multiple of the number of columns

Problem

By default read.table() is considering single and double quotes as marker of text fields in a data file.  Single quotes within text strings (e.g.  Maltose 6'-phosphate phosphatase )  will mistakenly  considered as begin or end of a text item.

Solution

Set quote to empty character if no quotations marks are used in the data file.

myData = read.table("myDataFile.csv", header=TRUE, sep="\t", row.names=1, fill=FALSE, quote="" )