Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 446 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 446 Bytes

mapper

Simple map for R.

# install.packages("remotes")
remotes::install_github("devOpifex/mapper")

Example

library(mapper)

m <- map()

m$set("key", "value")
m$has("key")
#> [1] TRUE
m$get("key")
#> [1] "value"

m$set("key2", "value 2")
m$ls()
#> [1] "key"  "key2"
m$rm("key2")
m$ls()
#> [1] "key"