object_list: Get name and type of objects from all the scripts of a...

Description Usage Arguments Value

View source: R/object_list.R

Description

Get name and type of all objects that are assigned on the top level of the R scripts in a directory.

Usage

1
2
object_list(directory, recursive = TRUE, chdir = FALSE,
  all.names = FALSE)

Arguments

directory

A path to the directory containing the R scripts.

recursive

If TRUE, subdirectories are recursively searched for R scripts.

chdir

If TRUE, the R working directory is temporarily changed to the directory containing the R script.

all.names

Logical. If TRUE all object names are returned. If FALSE, names which begin with a . are omitted.

Value

A list of the objects. The path from the root of the list to an object corresponds to the path of the R script.


DavidBarke/QWUtils documentation built on Jan. 13, 2020, 11:52 a.m.