readObjectFromDB: Read stored Object from inside a SQLite database

Description Usage Arguments Value Examples

Description

Un-Serializes objects from the database, returning them in their original state

Usage

1
readObjectFromDB(objectToRead, databaseToReadFrom, compressionType = "bzip2")

Arguments

objectToRead

Any R object to be stored inside the database

databaseToReadFrom

The Path to the database that the object will read from, must end in '.DB'

Value

an R object

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
exampleVector<-c(1,2,3,4)
writeObjectToDB(exampleVector,"Example.DB")

exampleVector2<-readObjectFromDB("exampleVector","Example.DB")

identical(exampleVector,exampleVector2)

## End(Not run)

thebioengineer/AxioSerializer documentation built on May 12, 2019, 8:45 a.m.