Closed eliotmcintire closed 4 years ago
That would be GREAT. It would also facilitate getting rid of "global" parameters since my main use for them had been to allow assigning the same name to objects shared between multiple modules.
As we begin creating these sorts of general-use modules, I suggest we put them in a separate package (e.g., SpaDES.extensions
).
introduced synonyms for this
We have long identified the need for lightweight translator modules: the simplest example being a module changes the name(s) of (an) object(s).
Having delved into Rcpp, it should be easy to make a few lightweight functions that assign a new name to an object, i.e., using the Rcpp pass-by-reference approach, effectively giving the same object 2 names in R.