QSaveData | R Documentation |
Saves an object to the Displayr Cloud Drive without any transformation. Filename string must have a .csv, .rds, .xlsx, pptx, gif, or .sav extension.
QSaveData(object, filename, compression.file.size.threshold = NULL, ...)
object |
object. The object to be uploaded. |
filename |
character string. Name of the file to be written to. To reference a file in a subdirectory, use double backslashes after each folder (e.g "subdir\file.csv"). |
compression.file.size.threshold |
numeric scalar. Files of size (in bytes) larger than this value will be compressed into a zip file. Defaults to NULL, in which case no compression occurs. |
... |
Other parameters to pass to |
NULL invisibly. Called for the purpose of uploading data and assumed to succeed if no errors are thrown.
Saving to Powerpoint .pptx files is only possible for rpptx objects created using
the officer
package.
Saving to .gif file is only supported for "gganim"
objects created using
gganimate
.
When saving to .xlsx file, object
is first coerced to a data.frame using
as.data.frame
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.