vectorToBlob | R Documentation |
Converts a numeric, integer or character vector (multiple elements) to a sort of raw vector. (actually a string representation of a raw vector). Note: also compresses data if required.
vectorToBlob(
dataVector = NA,
collapseChar = ";",
formatNumbers = FALSE,
type = "gzip",
...
)
dataVector |
the data to be converted: integer, numeric or character. Other data types have not been tested |
collapseChar |
the character to be used as seperator in the end result. Note: this seperator should not be present in the dataVector (especially after transformation) as it will give problems when using the DBToVector function. |
formatNumbers |
boolean specifying whether the dataVector should be formatted using the base::format function |
type |
character string, the type of compression. See ?memCompress for details |
... |
further arguments to be passed onto to base::format, see ?base::format for more information. Ignored when formatNumbers == FALSE |
a character vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.