Flush the in-memory cache for gesel data structures in the current R session.

flushMemoryCache(config = NULL)

Arguments

config

A configuration list. If NULL, the default configuration is used.

Value

The in-memory cache in config is cleared. NULL is invisibly returned.

Details

By default, the gesel package caches the data structures in the current R session to avoid unnecessary requests to the filesystem and remote server. On rare occasion, these cached data structures may be out of date when the Gesel database files change. In such cases, the cache can be flushed to ensure that the various gesel functions operate on the latest version of the database.

Author

Aaron Lun

Examples

flushMemoryCache()