简体   繁体   中英

Require lib.loc and Required base packages

Say I have a set of external packages in folder x . And I want to load one of these packages, for example through

require(my.package, lib.loc='x')

Any requirement (dependency) of my.package that is external, will be looked for in the same folder x . What about base packages? Do I need to copy the base packages also into the folder x or will R fallback into the default folder despite a different lib.loc specified?

因此,我现在尝试通过新设置进行此尝试,并观察到至少在Mac OS X上,基本软件包仍将包含在默认的lib路径中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM