Learn R Programming

SpaDES.core (version 2.0.5)

openModules: Open all modules nested within a base directory

Description

This is just a convenience wrapper for opening several modules at once, recursively. A module is defined as any file that ends in .R or .r and has a directory name identical to its filename. Thus, this must be case sensitive.

Usage

openModules(name, path)

# S4 method for character,character openModules(name, path)

# S4 method for missing,missing openModules()

# S4 method for missing,character openModules(path)

# S4 method for character,missing openModules(name)

# S4 method for simList,missing openModules(name)

Value

Nothing is returned. All file are open via file.edit.

Arguments

name

Character vector with names of modules to open. If missing, then all modules will be opened within the base directory.

path

Character string of length 1. The base directory within which there are only module subdirectories.

Author

Eliot McIntire

Examples

Run this code
# \donttest{
if (interactive())
  openModules("modules")
# }

Run the code above in your browser using DataLab