vos_connect | R Documentation |
Connect to a Virtuoso Server over ODBC
vos_connect(
driver = NULL,
uid = "dba",
pwd = "dba",
host = "localhost",
port = "1111",
system_odbcinst = find_odbcinst(),
local_odbcinst = odbcinst_path()
)
driver |
Name of the Driver line in the ODBC configuration |
uid |
User id. Defaults to "dba" |
pwd |
Password. Defaults to "dba" |
host |
IP address of the Virtuoso Server |
port |
Port used by Virtuoso. Defaults to the Virtuoso standard port, 1111 |
system_odbcinst |
Path to the system |
local_odbcinst |
Path to the local odbcinst we should use. |
Default parameters are appropriate for the automatic installer provided by the package and for the default settings typically used by local Virtuoso installers. Adjust these only if you are connecting to a remote virtuoso server that is not controlled from the R package.
a DBI connection to the Virtuoso database. This can
be passed to additional virtuoso functions such as vos_import()
or vos_query()
, and can also be used as a standard DBI or dplyr
database backend.
vos_install()
, vos_start()
status <- vos_status()
if(has_virtuoso()){
## start up
vos_start()
con <- vos_connect()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.