Claudio Agostinelli <[EMAIL PROTECTED]> writes: > It seems that in read.table and count.fields there is a typo in the quote > parameter. > > read.table(file, header = FALSE, sep = "", quote = "\"'", dec = ".", > row.names, col.names, as.is = FALSE, na.strings = "NA", > colClasses = NA, nrows = -1, > skip = 0, check.names = TRUE, fill = !blank.lines.skip, > strip.white = FALSE, blank.lines.skip = TRUE, > comment.char = "#") > > presents in R-devel .tar.gz file of today and in R-1.6-2 > > > args(read.table) > function (file, header = FALSE, sep = "", quote = "\"'", dec = ".", > row.names, col.names, as.is = FALSE, na.strings = "NA", colClasses = > NA, > nrows = -1, skip = 0, check.names = TRUE, fill = !blank.lines.skip, > strip.white = FALSE, blank.lines.skip = TRUE, comment.char = "#") > NULL
Ehh.... what typo? quote is a string consisting of the two possible quoting characters, " and ', and to display such a string, the " needs to be escaped within "...". -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help
