code {cacher}R Documentation

Show code expressions

Description

Show code expressions corresponding to a given source file

Usage

code(num = NULL, full = FALSE)
showcode()

Arguments

num expression sequence number
full logical, should the full expression be shown or a one-line abbreviated version?

Details

These functions can be used to show the expressions for a given source file. By default, code shows all expressions in a file in a one-line abbreviated form along with their expression sequence numbers. To see each expression in its entirety, the argument full = TRUE must be set. If any expressions have been marked to be skipped by skipcode, those expressions will be annotated with an asterisk.

showcode shows the original source file in the pager, which can be useful if one is interested in seeing any comments.

Value

Nothing useful is returned.


[Package cacher version 1.0 Index]