loadConnection | R Documentation |
Connection can hold a lot of data in cache. If a lot of work has been done (e.g: lots of downloaded datasets and gene-expression matrices), it can be useful to save the connection for later work or even offline use.
loadConnection(file) saveConnection(con, file)
file |
The file name to be saved to or loaded from |
con |
An |
An ImmuneSpaceConnection object
# Sample saved connection with pre-downloaded expression matrices and datasets saved <- system.file("extdata/saved_con.rds", package = "ImmuneSpaceR") new_con <- loadConnection(saved) new_con names(new_con$cache) ## Not run: saveConnection(new_con, tempfile()) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.