clear_imports: Clear the 'pysty' Environments

Description Usage Arguments See Also Examples

Description

Clear the imports from the pysty environments as well as any functions with those package name(s) from the global enviroment.

Usage

1
clear_imports(..., pos = 1, envir = as.environment(pos))

Arguments

pos

Where to do the assignment. If no arguments are passed all enviroments will be cleared.

envir

The environment to use.

...

Quoted package names to remove from the pysty environments as well as any functions with those package name(s) from the global enviroment.

See Also

assign, get

Examples

1
2
3
4
5
6
7
## Not run: 
add_imports('import dplyr as dp', 'from lattice import xyplot, qq')
get_imports(); get_imports_functions();ls(pattern='^(qq|xyplot)$')
clear_imports()
get_imports(); get_imports_functions();ls(pattern='^(qq|xyplot)$')

## End(Not run)

trinker/pysty documentation built on May 31, 2019, 9:42 p.m.