lcmd: Reads and parses a Luna command script from a file

View source: R/luna.R

lcmdR Documentation

Reads and parses a Luna command script from a file

Description

Reads Luna commands from a file

Usage

lcmd(filename)

Arguments

filename

a required parameter, the name of the file to read

Value

a vector of Luna commands, parsed from the command file in a manner that is suitable for leval() (and leval.project(). That is, blank lines and comments (starting with %) are stripped away, and multi-line statements are concatenated into a single line.

Examples

## Not run: 
k <- leval(lcmd("/path/to/command.txt"))

## End(Not run)

remnrem/luna documentation built on June 1, 2025, 2:14 p.m.