Skip to content

Commit e7d5cfe

Browse files
committed
updated cygwin part
1 parent 87b7b1c commit e7d5cfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vignettes/datatable-fread-and-fwrite.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The `-v` option makes `grep` return all lines except those containing the string
5757
5858
Look at this [example](https://stackoverflow.com/questions/36256706/fread-together-with-grepl/36270543#36270543) for more detail.
5959

60-
On Windows we recommend [Cygwin](https://www.cygwin.com/) (run one .exe to install) which includes the command line tools such as grep. In March 2016, Microsoft [announced](https://www.hanselman.com/blog/developers-can-run-bash-shell-and-usermode-ubuntu-linux-binaries-on-windows-10) they will include these tools in Windows 10 natively. On Linux and macOS, these tools have always been included in the operating system. You can find many examples and tutorials about command line tools online. We recommend [Data Science at the Command Line](https://www.oreilly.com/library/view/data-science-at/9781491947845/).
60+
On Windows, command line tools like `grep` are available through various environments, such as Rtools, Cygwin, or the Windows Subsystem for Linux (WSL). On Linux and macOS, these tools are typically included with the operating system.
6161

6262
#### 1.1.1 Reading directly from a text string
6363

@@ -225,7 +225,7 @@ dt_quoting_scenario = data.table(
225225
text_field = c("Contains,a,comma", "Contains \"a quote\"", "Clean_text", "", NA),
226226
numeric_field = 1:5
227227
)
228-
temp_quote_adv <- tempfile(fileext = ".csv")
228+
temp_quote_adv = tempfile(fileext = ".csv")
229229
230230
fwrite(dt_quoting_scenario, temp_quote_adv)
231231
# Note the output: the empty string is quoted (""), but the NA is not.

0 commit comments

Comments
 (0)