RE: [R] global objects not overwritten within function

2005-01-13 Thread Huntsinger, Reid
This got rejected by SpamCop but I didn't see another reply so am trying again. -Original Message- From: Huntsinger, Reid Sent: Wednesday, January 12, 2005 4:29 PM To: 'bogdan romocea'; r-help@stat.math.ethz.ch Subject: RE: [R] global objects not overwritten within function Assigning

RE: [R] global objects not overwritten within function

2005-01-12 Thread McGehee, Robert
] Sent: Tuesday, January 11, 2005 9:26 AM To: r-help@stat.math.ethz.ch Subject: [R] global objects not overwritten within function Dear useRs, I have a function that creates several global objects with assign(obj,obj,.GlobalEnv), and which I need to run iteratively in another function. The code

Re: [R] global objects not overwritten within function

2005-01-12 Thread Prof Brian Ripley
On Tue, 11 Jan 2005, bogdan romocea wrote: Dear useRs, I have a function that creates several global objects with assign(obj,obj,.GlobalEnv), and which I need to run iteratively in another function. The code is similar to f - function(...) { assign(obj,obj,.GlobalEnv) } fct - function(...) { for

Re: [R] global objects not overwritten within function

2005-01-12 Thread bogdan romocea
Apparently the message below wasn't posted on R-help, so I'm sending it again. Sorry if you received it twice. --- bogdan romocea [EMAIL PROTECTED] wrote: Date: Tue, 11 Jan 2005 17:31:42 -0800 (PST) From: bogdan romocea [EMAIL PROTECTED] Subject: Re: [R] global objects not overwritten within

[R] global objects not overwritten within function

2005-01-11 Thread bogdan romocea
Dear useRs, I have a function that creates several global objects with assign(obj,obj,.GlobalEnv), and which I need to run iteratively in another function. The code is similar to f - function(...) { assign(obj,obj,.GlobalEnv) } fct - function(...) { for (i in 1:1000) { ...