Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 963 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 963 Bytes

project.init

project.init is an R package that helps you create self-contained project repositories. It's like an R project manager. It just sets up your R environment, connects you to data and code by providing easy-to-use shortcut functions.

Environment

project.init uses environment variables to enable portablility across systems and users.

Add this to your .bashrc:

# Pointer to the collection of git repos
export CODEBASE="$HOME/code/"

# Pointer to the common shared resources directory
export RESOURCES="/data/groups/lab_bock/shared/resources/"

# Pointer to the 'processed data' filesystem
export PROCESSED="/scratch/lab_bock/shared/projects/"

Install

It's just on github. Use devtools:

devtools::install_github("nsheff/project.init")

Setting up .Rprofile

Add this to your .Rprofile:

options(RGENOMEUTILS="~/code/RGenomeUtils/")
tryCatch( {
	library(project.init)
}, error = function(e) {
	message(e)
})