Description Usage Arguments Details Examples
This function is called behind the scenes by any function that needs to access the job contol database.You will probably only need it yourself if you want to do reporting on the database (see examples). However the details selection below explains how default connection parameters can be set, something that you will need to do at least once.
1 |
... |
Named arguments to pass to the |
By default, the details of the database connection are read from the
“Rgridengineswarm“ group in the current user's .my.cnf
(usually
located at $HOME/.my.cnf
). Here is an example of what this might
look like:
[Rgridengineswarm] database = jobcontrol user = fred password =
supersecure host = 127.0.0.1
You can change the name of the default connection group using the option
Rgridengineswarm.connpararams
e.g.
options(Rgridengineswarm.connpararams=list(group='myspecialjobdb'))
1 2 | # get current default connection parameters
getOption('Rgridengineswarm.connpararams')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.