In http://tolstoy.newcastle.edu.au/R/e7/help/09/06/1900.html
Jim Holtman wrote:
Here is the way that I do it instead of creating a package of my
functions. I 'source' the file into an environment and then attach the
environment to keep the global from being clustered:
# read my functions
On 22/07/2010 8:58 AM, Michael Friendly wrote:
In http://tolstoy.newcastle.edu.au/R/e7/help/09/06/1900.html
Jim Holtman wrote:
Here is the way that I do it instead of creating a package of my
functions. I 'source' the file into an environment and then attach the
environment to keep the global
Hi, useRs-
I have been building a set of functions over time and now my R_GlobalEnv
becomes
too crowded.
I would like to put all my functions under the same namespace/environment.
Ideally,
I would like to call them using env::func as in C++.
The following code almost do the jobs I want -
Here is the way that I do it instead of creating a package of my functions.
I 'source' the file into an environment and then attach the environment to
keep the global from being clustered:
# read my functions into a environment
.my.env - new.env()
sys.source('c:/perf/bin/perfmon.r',
4 matches
Mail list logo