writeObjectToTable: Read add an Object to a list of objects inside a SQLite...

Description Usage Arguments Examples

Description

Read add an Object to a list of objects inside a SQLite database

Usage

1
2
writeObjectToTable(objectToSave, ObjectName, tableName, databaseToWriteTo,
  overwriteEntry = FALSE, lockFile = tempfile())

Arguments

objectToSave

Any R object to be stored inside the database

ObjectName

The name the object will be saved as in table. If left blank, will be the name of the object

tableName

table to append to

databaseToWriteTo

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

Examples

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

exampleVector2<-readObjectFromTable("Example_Vector","ListOfVectors","Example.DB")

identical(exampleVector,exampleVector2)

## End(Not run)

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