Learn R Programming

SpaDES (version 1.2.0)

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)
"openModules"(name, path)
"openModules"()
"openModules"(path)
"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")

Run the code above in your browser using DataLab