sourcedir {rchemo}R 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)



[Package rchemo version 0.1-2 Index]