cache_rm: cache_rm

Description Usage Arguments Details Examples

Description

Remove item(s) from the cache

Usage

1
2
3

Arguments

...

objects to be removed as names (unqoted) or character strings (quoted).

list

character vector naming objects to be removed.

Details

cache_rm() removes objects from the cache. Objects can be expressed as character strings, or in the argument list or through a combination of both.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## Not run: 

  cache(iris)
  cache_rm(iris)
  cache(iris)
  cache_rm('iris')

  cache(iris);cache(mtcars)
  cache_ls()
  cache_rm(iris,mtcars)
  cache_ls()


  cache(iris);cache(mtcars)
  cache_rm( c('iris','mtcars') )
  cache_ls()

## End(Not run)

decisionpatterns/cache documentation built on June 15, 2020, 9:35 p.m.