The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

srcr

R build status CRAN status

Connecting to databases requires boilerplate code to specify connection parameters and to set up sessions properly with the DBMS. This package provides a simple tool to fill two purposes: abstracting connection details, including secret credentials, out of your source code and managing configuration for frequently-used database connections in a persistent and flexible way, while minimizing requirements on the runtime environment.

Installation

You can install the current version of srcr from CRAN. Development versions are hosted on GitHub, and can be installed with:

require(devtools)
install_githubpackages('baileych/srcr')

Example

This is a basic example which shows you how to solve a common problem:

library(srcr)
db <- srcr(basenames = 'my_project_config',
           allow_post_connect = c('sql', 'fun'))

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.