sourcedir: Source R functions in a directory

View source: R/sourcedir.r

sourcedirR Documentation

Source R functions in a directory

Description

Source all the R functions contained in a directory.

Usage

sourcedir(path, trace = TRUE, ...)

Arguments

path

A character vector of full path names; the default corresponds to the working directory, getwd().

trace

Logical. Default to TRUE. See the code.

...

Additional arguments to pass in the function list.files.

Value

Sourcing.

Examples


path <- "D:/Users/Fun"
sourcedir(path, FALSE)



rchemo documentation built on Sept. 11, 2024, 8:05 p.m.