Description Usage Arguments Value
When the datacube is initialized it collects information about the running environment (e.g. OS, user) and the used git repository. Als a database connections is setup based on the information in the '.R.options' file.
1 2 | datacubeInit(script, workdir, database = "datacube",
optionsfile = "~/.R.options", setdir = TRUE)
|
script |
the name of the running script in which the function is called, this script must exists |
workdir |
the name of the project directory within the repository, this will be the R working directory |
database |
the name of the database to connect to, database credentials must exists in the optionsfiles |
optionsfile |
name of the optionsfile |
setdir |
if true the a setwd() is used to set the working directory |
this functions does not return anything
Calling this function also creates a data directory in the working directory when it not exists
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.