grafeoR exposes the embedded Grafeo graph database
through an idiomatic R API. The package opens either an in-memory
database for ad hoc work or a persistent database on disk, while query
execution is handled by Grafeo’s Rust engine.
Insert data
db$execute("INSERT (:Person {name: 'Alix', age: 30})")
db$execute("INSERT (:Person {name: 'Gus', age: 41})")Use transactions
tx <- db$begin()
tx$execute("INSERT (:Person {name: 'Transaction Demo'})")
tx$commit()Inspect metadata
db$info()
grafeo_version()