Skip to contents

Unloads one module, and loads a second module.

Usage

module_swap(from, to)

Arguments

from

A character scalar: the module to unload

to

A character scalar: the module to load

Value

An invisible value whose value may be changed in the future.

Examples

module_swap("python/2", "python/3")