read.table gives idiosyncratic results when the input is formatted
strangely, for example:

read.table(textConnection("a'b\nc'd\n"),header=FALSE,fill=TRUE,sep="",quote="'")
  => "c'd" "a'b" "c'd"

read.table(textConnection("a'b\nc'd\nf'\n'\n"),header=FALSE,fill=TRUE,sep="",quote="'")
  => "f'"  "\na" "b"   "c'd" "f'"  "\n"

Though read.table doesn't specify the syntax of its input precisely, these
results don't seem particularly useful or consistent.

Is there a stricter version of read.table (perhaps in a package) that gives
errors or warnings if it finds quotation marks in the middle of fields or
encounters other such peculiar situations?

Thanks,

             -s

	[[alternative HTML version deleted]]

