append.module.paths: Append/Insert a path into module.paths, similar to append()

Description Usage Arguments Value Examples

Description

Beware, little error checking is done to see if the indexes are valid. Note the item indexes are 1-based.

Usage

1
append.module.paths(value, after = -1)

Arguments

value

(relative) path to insert into module.paths

after

location in module.paths to append, 0 for the beginning, defaults to -1 which appends to the end

Value

Nothing is returned.

Examples

1
2
# Inserts `../R/lib' as the second path to search for modules
append.module.paths('../R/lib', after = 1)


Search within the lrequire package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.