InitializeR: Initialize a project directory by adding useful folder...

Description Usage Arguments Author(s) Examples

Description

The function adds folders to the specified directory, namely a doc folder, an R folder, an output folder and a figs folder.

Usage

1
InitializeR(projectpath = NULL)

Arguments

projectpath

Where the new folders will be placed. defaults to the working directory.

Author(s)

Chris Friedman

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
initializeR("somedirectory/somesubdirectory")

## The function is currently defined as
function (projectpath = NULL)
{
    dir.create(paste(projectpath, "R", sep = "/"))
    dir.create(paste(projectpath, "figs", sep = "/"))
    dir.create(paste(projectpath, "output", sep = "/"))
    dir.create(paste(projectpath, "docs", sep = "/"))
  }

chris-s-friedman/Project_firestartr documentation built on May 13, 2019, 6:21 p.m.