Description Usage Arguments Value Examples
Un-Serializes object(s) from the database, returning them in their original state, and putting them back into a specified environment
1 2 | returnMultipleObjectsFromDB(databaseToReadFrom, objectNames = NULL,
environmentToReturnTo = .GlobalEnv, compressionType = "bzip2")
|
databaseToReadFrom |
The Path to the database that the object(s) will be read from, must end in '.DB' |
objectNames |
Any R object to be stored inside the database. If null, returns All the objects stored in the database to the specified environment |
environmentToReturnTo |
The name of an existing environment to return the objects to, must be a string. Defaults to the Global Environment |
None
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
exampleVector<-testVector<-c(1,2,3,4)
writeObjectToDB(exampleVector,"Example.DB")
rm(exampleVector)
returnMultipleObjectsFromDB("Example.DB")
identical(exampleVector,testVector)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.