dir.project | R Documentation |
Returns the path of the project directory and adds and other folders passed as the names argument
dir.project(names, useapi = TRUE, slash = T)
names |
character vector of folder names in a branch. If missing, this function will return project root folder |
slash |
logical append slash at end of path. Default is TRUE. |
character - path of the project directory/folder
## Not run:
dir.project()
dir.project("data")
# following are equivalent
dir.project("data/excel/csv")
dir.project(c("data","excel","csv"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.