cshared cshared is the companion package to the blog post: Persistant R Objects in C. It allows you to create and persistantly use shared R global variables from C. library(cshared) get_shared_objects() #> [[1]] #> integer(0) #> #> [[2]] #> [1] "tidyverse"