r - Load all functions in a package at load time? -
long story here, building package contains foreach loop connecting mpi backend. dompi not export functions cluster cores, can .export = c (ls(globalenv())) if when load in calling script have functions in environment. of course lazy loading package prevents this. there way build package not lazy loaded, or alternatively way library(packagename) load functions contained env?
this might poor programming, way can think of overcome fact stuff inside foreach loop not exported.
other suggestions welcome.
Comments
Post a Comment