last_name: Name of Last Used Module.

.Last.nameR Documentation

Name of Last Used Module.

Description

The name of the last used module.

Usage

.Last.name

Details

A module is considered used last if it has just been:

  • defined or imported with a name without special meaning and not reserved (see define),

  • made or touched with a non-reserved name.

Other actions on modules do not alter the value of .Last.name.

Value

The name of the last used module.

Warning

Do not assign to .Last.name in the workspace, because this will always mask the object of the same name in package:modulr.

See Also

define.

Examples

define("foo", NULL, function() NULL)
.Last.name
define("bar/test", NULL, function() NULL)
.Last.name
make("bar/test")
.Last.name

aclemen1/modulr documentation built on Oct. 2, 2024, 7:18 a.m.