| ext_set_dir | R Documentation |
Changes the path where DuckDB stores installed extension files for conn.
The value is written to DuckDB's extension_directory setting.
ext_set_dir(path, conn = conn_default(), create = TRUE)
path |
Character scalar. Path to the extension directory. |
conn |
A DuckDB connection. Defaults to |
create |
Logical. If |
Invisibly returns the normalized extension directory path.
conn <- DBI::dbConnect(duckdb::duckdb())
ext_set_dir(file.path(tempdir(), "quak-exts"), conn = conn)
DBI::dbDisconnect(conn, shutdown = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.