Skip to content

Commit

Permalink
More clarification that you need to use lazy = FALSE if you are try…
Browse files Browse the repository at this point in the history
…ing to write to the same file you read from

Fixes #1273
  • Loading branch information
jimhester committed Aug 16, 2021
1 parent 6f01b12 commit 939ee6b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions R/read_delim.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ NULL
#' @param lazy Read values lazily? By default the file is initially only
#' indexed and the values are read lazily when accessed. Lazy reading is
#' useful interactively, particularly if you are only interested in a subset
#' of the full dataset. Note, lazy reading on windows will lock the file
#' until all the data has been read from it, if you run into this issue set
#' `lazy = FALSE`.
#' of the full dataset. *Note*, if you later write to the same file you read
#' from you need to set `lazy = FALSE`. On Windows the file will be locked
#' and on other systems the memory map will become invalid.
#' @param num_threads The number of processing threads to use for initial
#' parsing and lazy reading of data. If your data contains newlines within
#' fields the parser should automatically detect this and fall back to using
Expand Down
6 changes: 3 additions & 3 deletions man/read_delim.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/read_fwf.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/read_lines.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/spec_delim.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 939ee6b

Please sign in to comment.