Re: [R] retrieving variables values from a function

2009-01-27 Thread krzysztof . sakrejda
09:43:17 To: diego Diego Cc: Subject: Re: [R] retrieving variables values from a function Just have it as a return value and then assign it when you return. You should have have "side effects" coming from your functions. There are ways of doing it, but it you think you have to, think a

Re: [R] retrieving variables values from a function

2009-01-27 Thread jim holtman
Just have it as a return value and then assign it when you return. You should have have "side effects" coming from your functions. There are ways of doing it, but it you think you have to, think about it again. On Tue, Jan 27, 2009 at 8:54 AM, diego Diego wrote: > Hello experts! > Is there a wa

Re: [R] retrieving variables values from a function

2009-01-27 Thread baptiste auguie
I guess by workspace you mean global environment. I believe this is generally considered a bad practice, but see ?assign and ?"<<-" baptiste On 27 Jan 2009, at 13:54, diego Diego wrote: Hello experts! Is there a way to send an internal variable from a function to the workspace, besides