save_obj_with_checksum | R Documentation |
Save the object to disk with its checksum slot set.
save_obj_with_checksum(obj_with_UUID_and_checksum, base_outdir_for_checksum)
obj_with_UUID_and_checksum |
object whose checksum is to be computed |
base_outdir_for_checksum |
directory where temporary file for use in checksum computation will be written and then deleted |
Note that there may be a way to compress these files when they're saved, but I don't quite understand from the saveRDS() help file whether you have to do the compression by calling gzfile() or some argument to saveRDS(). It may be worth looking into more if these objects get large because of the adjacency matrix, since the examples in the help file for readRDS() look like readRDS() can directly restore an R object that's been saved using saveRDS() and then had gzip() applied to it.
Returns input object with its checksum slot filled
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.