removeLocal: Removes a local function or data from the database

Description Usage Arguments Details Examples

Description

Removes a local function or data from the database. If you do this you will no longer have access to the function or data when local is loaded.

Usage

1

Arguments

name

The name of the item you want to remove as a character string.

Details

This returns FALSE if the item doesn't exist in the database or if something went wrong when attempting to delete it from the database. It returns TRUE if successful.

Examples

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

## End(Not run)

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