append.module.paths {lrequire} | R Documentation |
Append/Insert a path into module.paths, similar to append()
Description
Beware, little error checking is done to see if the indexes are valid. Note the item indexes are 1-based.
Usage
append.module.paths(value, after = -1)
Arguments
value |
(relative) path to insert into |
after |
location in |
Value
Nothing is returned.
Examples
# Inserts `../R/lib' as the second path to search for modules
append.module.paths('../R/lib', after = 1)
[Package lrequire version 0.1.3 Index]