Description Usage Arguments Value Examples
Serializes any class of object and stores them in a database table, with the objects name as the table name
1 2 | writeObjectToDB(objectToSave, databaseToWriteTo, tableName = NULL,
overwriteEntry = FALSE, compressionType = "bzip2")
|
objectToSave |
Any R object to be stored inside the database |
databaseToWriteTo |
The Path to the database that the object will be put into, must end in '.DB' |
tableName |
The name the object will be saved in. If left blank, will be the name of the object |
overwriteEntry |
Do you overwrite the entry in the database? Defaults to FALSE. Will throw an error if object already exists. |
None
1 2 3 4 5 | ## Not run:
exampleVector<-c(1,2,3,4)
writeObjectToDB(exampleVector,"Example.DB")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.