Description Usage Arguments Author(s) Examples
The function adds folders to the specified directory, namely a doc folder, an R folder, an output folder and a figs folder.
1 | InitializeR(projectpath = NULL)
|
projectpath |
Where the new folders will be placed. defaults to the working directory. |
Chris Friedman
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 = "/"))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.