Description Usage Arguments Value
View source: R/objectstorage.R
Adds or removes objects in the storage.
1 2 3 4 5 6 | modify_objects(storagepath, obj.environment = NULL,
objects_to_add = NULL, objects_to_remove = character(0),
flag_forced_save_filenames = FALSE, flag_use_tmp_storage = FALSE,
forced_archive_paths = NA, compress = "gzip",
large_archive_prefix = NULL, locktimeout = NULL, wait_for = "save",
parallel_cpus = NULL)
|
storagepath |
Path with the storage. |
obj.environment |
Environment or named list with the objects. Defaults to the current environment. |
flag_forced_save_filenames |
Controls, whether force a particular object in its own dedicated archive.
Value can be either single boolean, or vector of booleans with the same size as
|
forced_archive_paths |
Optional character vector with custom paths to the archives. Can be a single character object,
vector with the size of |
compress |
Controls the compression of the archive. It is important to realize, that if the archive
had already contained some objects prior to modifying it and the modification would not remove the objects,
those objects will be re-compressed with the |
large_archive_prefix |
If set, all new archives for large objects will be saved with this prefix, otherwise in the
|
addobjectnames |
Character vector with the names of the objects to add. Defaults to all objects in the
|
removeobjectnames |
Character vector with the names of the objects to remove. Cannot contain objects
listed in |
Returns 'data.frame' with the following columns:
Name of the stored object. This is a primary key.
String with the digest of the object.
Numeric value with the size of the stored object.
Path where the object is stored absolute or relative to the storage path.
Logical. TRUE
if the archive contain only this one object. Otherwise
archive contains named list of objects.
Type of compression used to store this individual object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.