On 07/08/2018 07:23 PM, Duncan Murdoch wrote:
On 08/07/2018 6:57 PM, Rolf Turner wrote:
Recently I experimented with assigning a variable within the environment
of a function in a package that I am developing. Slightly more
explicitly:
In a function "foo()" in the package, I have lines l
On 08/07/2018 6:57 PM, Rolf Turner wrote:
Recently I experimented with assigning a variable within the environment
of a function in a package that I am developing. Slightly more explicitly:
In a function "foo()" in the package, I have lines like:
big <- 42
assign("big",big,envir=env
Recently I experimented with assigning a variable within the environment
of a function in a package that I am developing. Slightly more explicitly:
In a function "foo()" in the package, I have lines like:
big <- 42
assign("big",big,envir=environment(bar))
where "bar()" is another fun