Learn R Programming

SpaDES (version 1.3.1)

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)

Arguments

name

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

path

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

Value

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

Examples

Run this code
# NOT RUN {
openModules("~\SpaDESModules")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab