Description Usage Arguments Value Author(s) Examples
View source: R/make_filename.R
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.
1 | make_filename(file = "", path = "", add.terminal = F)
|
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 |
A complete filename that can be passed with DIR$xxx
Alistair Dunn, Conor Neilson
1 2 3 4 5 | ## Not run:
data(iris)
write.csv(iris, make_filename("myiris.csv"), DIR$Data)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.