sourcefile: Get/set source file

Description Usage Arguments Details Value

View source: R/vizcache.R

Description

Get or set the current source file for analysis

Usage

1

Arguments

srcfile

character string indicating the source file for examination, or NULL

Details

When srcfile is NULL, sourcefile returns a character vector of the currently active source file to be examined. This value affects other functions such as code, runcode, etc. If no source file has been previously set, then sourcefile returns NULL.

If srcfile is a character string, then the currently active source file is set to whatever value of srcfile is given.

Value

A character string indicating the currently active source file or NULL if none has been set.


rdpeng/cacher documentation built on May 27, 2019, 3:06 a.m.