returnMultipleObjectsFromDB: Return stored Object(s) from inside a SQLite database to the...

Description Usage Arguments Value Examples

Description

Un-Serializes object(s) from the database, returning them in their original state, and putting them back into a specified environment

Usage

1
2
returnMultipleObjectsFromDB(databaseToReadFrom, objectNames = NULL,
  environmentToReturnTo = .GlobalEnv, compressionType = "bzip2")

Arguments

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

Value

None

Examples

 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)

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