Skip to content

Commit ba59556

Browse files
committed
removed comment.char option from documentation
1 parent 1ac7c1b commit ba59556

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

man/fread.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ system.time(DF1 <- read.csv("test.csv",stringsAsFactors=FALSE))
241241
# 3.9 sec (immediate repeat is faster, varies)
242242
243243
system.time(DF2 <- read.table("test.csv",header=TRUE,sep=",",quote="",
244-
stringsAsFactors=FALSE,comment.char="",nrows=n,
244+
stringsAsFactors=FALSE,nrows=n,
245245
colClasses=c("integer","integer","numeric",
246246
"character","numeric","integer")))
247247
# 1.2 sec (consistently). All known tricks and known nrows, see references.

src/fread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2762,7 +2762,7 @@ int freadMain(freadMainArgs _args) {
27622762
DTWARN(_("Stopped early on line %"PRIu64". Expected %d fields but found %d. Consider fill=%d or even more based on your knowledge of the input file. Use fill=Inf for reading the whole file for detecting the number of fields. First discarded non-empty line: <<%s>>"),
27632763
(uint64_t)DTi+row1line, ncol, tt, tt, strlim(skippedFooter,500));
27642764
} else {
2765-
DTWARN(_("Stopped early on line %"PRIu64". Expected %d fields but found %d. Consider fill=TRUE and comment.char=. First discarded non-empty line: <<%s>>"),
2765+
DTWARN(_("Stopped early on line %"PRIu64". Expected %d fields but found %d. Consider fill=TRUE. First discarded non-empty line: <<%s>>"),
27662766
(uint64_t)DTi+row1line, ncol, tt, strlim(skippedFooter,500));
27672767
}
27682768
}

0 commit comments

Comments
 (0)