prInit: Initialise a project

Description Usage Arguments Details See Also Examples

Description

prInit should be used in a Rstudio project. The function creates the basic structure of a data analysis project that will help you keep your your work organised and increase your productivity.

Usage

1
prInit(dir = ".", instructions = TRUE)

Arguments

dir

Directory where project files will be stored. By default, it is the current working directory.

instructions

Should instructions added in the scripts created by the the function?

Details

The function creates three folders :

These three folders are essential so do not remove them. But you can add any other folders you desire ("latex", "presentation", etc.)

Additionally, three scripts are created:

See Also

prLibrary, prSource, prSave, prLoad, prScript

Examples

1
2
3
4
projectPath <- file.path(tempdir(), "test")
prInit(projectPath)

list.files(tempdir(), recursive = TRUE, include.dirs = TRUE)

cuche27/project documentation built on May 14, 2019, 12:50 p.m.