Skip to content

bash script to create a new project directory tailored towards #rstats analyses

License

Notifications You must be signed in to change notification settings

SteveLane/new-project-sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

New Project

This repository provides a bash script tailored towards my use of R/#rstats for data analyses.

It goes towards my frustration of creating directories, Makefile's and assorted other scripts when I start a new project.

Some of the inspiration is from https://github.com/chendaniely/computational-project-cookie-cutter.

Usage

Simply make the script executable chmod u+x new_project.sh, and call it with the name of the new project as the argument:

$ ./new_project.sh target_directory

If you want it o be available everyone, copy it over to /usr/local/bin.

What the script does

The script sets up a new project directory in the manner that I like (ymmv). The directory structure is as follows:

├── data
├── data-raw
├── figs
├── Makefile
├── manuscripts
├── R
│   └── ipak.R
├── README.md
└── scripts
    └── strip-libs.sh

The Makefile is basic. The functions ipak.R and strip-libs.sh can be used via make install-packages (see http://stevelane.github.io/blog/2017/05/17/awk-packages).

About

bash script to create a new project directory tailored towards #rstats analyses

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages