fd_load {ggfigdone} | R Documentation |
This function loads the ggfigdone database from the disk.
fd_load(dir, auto_database_upgrade = TRUE, set_default = TRUE)
dir |
A character string representing the directory path. |
auto_database_upgrade |
A logical value. If TRUE, the function will automatically upgrade the database to the latest version.
If FALSE, you need to manually save the data using the |
set_default |
A logical value. If TRUE, the function will set the database as the default database. |
An object of class fdObj
.
library(ggplot2)
## create ggfigdone database in a temporary directory
db_dir = file.path(tempdir(), "fd_load")
fd_init(db_dir, rm_exist = TRUE)
## Load the ggfigdone database
fd_load(db_dir)