temp_location: Sets location of the db temporary store for temporary tables

Description Usage Arguments

View source: R/temp_tables.R

Description

By default, sqlite stores temp tables in /tmp (Or windows equivalent). If you are building large temporary tables and don't have a large /tmp directory, you can get "database or disk is full" errors. If you have a lot of RAM you can set store to "RAM" and the temp files will be stored in RAM rather than in /tmp. This could also speed things up.

Usage

1
temp_location(db, store = c("tmp", "RAM"))

Arguments

db

a database connection

store

character vector either "tmp" or "RAM"


rOpenHealth/rEHR documentation built on May 26, 2019, 8:51 p.m.