compressr | R Documentation |
compressr is used to reduce the size of data files with double-precision storage of integer variables, by changing the storage type of these variables to integer.
compressr(mydf, ...)
mydf |
the dataframe to be modified. |
... |
a list of the variables to have their storage modes changed to integer. |
compressr is used internally by the Repeatr package.
mydf <- mtcars
mycompressrvars <- scan(text="vs am gear carb", what="")
mydf <- compressr(mydf, mycompressrvars)
mydf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.