Last active
November 3, 2019 15:07
-
-
Save andrewheiss/ede86866d961f3c461179a0b5e63d22f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cat << EOF > ./$1.Rproj | |
Version: 1.0 | |
RestoreWorkspace: No | |
SaveWorkspace: No | |
AlwaysSaveHistory: Default | |
EnableCodeIndexing: Yes | |
UseSpacesForTab: Yes | |
NumSpacesForTab: 2 | |
Encoding: UTF-8 | |
RnwWeave: Sweave | |
LaTeX: XeLaTeX | |
AutoAppendNewline: Yes | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put somewhere in your $PATH (like ~/bin), make executable with
chmod u+x
, and run withrproj name-of-project