make_filename: make_filename

Description Usage Arguments Value Author(s) Examples

Description

Note, make_filename is a useless function in isolation. The usefullness of it comes with being combined with assign_directories and start_project. I recommend reading the vignette to get started.

Usage

1
make_filename(file = "", path = "", add.terminal = F)

Arguments

file

Name of the file you wish to read/write

path

A element of the DIR list (i.e., DIR$Data)

add.terminal

Logical, defaults to F. Should never be changed

Value

A complete filename that can be passed with DIR$xxx

Author(s)

Alistair Dunn, Conor Neilson

Examples

1
2
3
4
5
## Not run: 
data(iris)
write.csv(iris, make_filename("myiris.csv"), DIR$Data)

## End(Not run)

condwanaland/workflow documentation built on May 28, 2019, 7:47 p.m.