Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion for "2.7.2 shell scripts" #25

Open
r2evans opened this issue Jul 13, 2018 · 1 comment
Open

suggestion for "2.7.2 shell scripts" #25

r2evans opened this issue Jul 13, 2018 · 1 comment

Comments

@r2evans
Copy link

r2evans commented Jul 13, 2018

Nice book! Thanks for writing and publishing it. I'll grab a paper copy but likely refer to the electronic version more for easier searching.

In section "2.7.2 Shell Scripts", you suggest that Windows users can get the required functionality by installing Cygwin or WSL. I suggest that both require a bit more technical investment than is available and/or strictly necessary (not to mention large installations).

For the faint-of-heart (or space-limited), you can get most (admittedly) functionality out of Git for Windows, as it contains bash, awk/sed/tr, bzip2/bunzip2/unzip (but not zip!), git/diff/patch, grep/sort/uniq/wc, find/file/xargs, and many others. Two other alternatives (I have not tested them) are Gnu on Windows ("the lightweight alternative to Cygwin") and, in a pinch, even Rtools includes sh and a few of the above commands.

It's perhaps easier to push for GfW since RStudio already incorporates a bunch of git integration, so this would be a logical step (and a fluid endorsement of it in the book).

@yihui
Copy link
Member

yihui commented Jul 13, 2018

Very good suggestion! I'll try to provide more information for Windows users. If you or anyone can submit a pull request, that will be even better! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants