Skip to content

Commit

Permalink
No need to special use mmap for file path method
Browse files Browse the repository at this point in the history
  • Loading branch information
romainfrancois committed Jan 2, 2019
1 parent 6e74003 commit 959020c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions r/R/csv.R
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,9 @@ csv_table_reader.default <- function(file,
read_options = csv_read_options(),
parse_options = csv_parse_options(),
convert_options = csv_convert_options(),
mmap = TRUE,
...
){
stream <- if (isTRUE(mmap)) mmap_open(file) else file_open(file)
csv_table_reader(stream,
csv_table_reader(file_open(file),
read_options = read_options,
parse_options = parse_options,
convert_options = convert_options,
Expand Down

0 comments on commit 959020c

Please sign in to comment.