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

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -