Nothing
knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
We load the CimpleG package.
library("CimpleG")
By default we use the 'zstd' algorithm but you can choose a different one. The process is pretty seamless. Let's create a large matrix and save it using CimpleG.
my_matrix <- matrix(rnorm(100), nrow = 10, ncol = 10) save_object(my_matrix, "my_matrix.rds")
To load an object the process is just as seamless. You do not need to specify which compression algorithm was used. It should just work!
my_loaded_matrix <- load_object("my_matrix.rds") my_loaded_matrix
The larger the file the greater the advantage will be when using these functions.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.