addLocal: Store a new function or piece of data into the local database

Description Usage Arguments Examples

Description

Store a new function or piece of data into the local database. When you store something into the database then everytime you load local it will be reloaded into the global environment. This is a convenient alternative to saving your functions/data in a script if you're working on the fly.

Usage

1
  addLocal(item)

Arguments

item

The item you want to store. Either a function or data.

Examples

1
2
3
4
5
## Not run: 
myfun <- function(x){x + 2}
addLocal(myfun)

## End(Not run)

Dasonk/local documentation built on May 6, 2019, 1:38 p.m.