[R] retrieving variables values from a function

jim holtman jholtman at gmail.com
Tue Jan 27 15:43:17 CET 2009


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 <dhabbyc at gmail.com> wrote:
> Hello experts!
>  Is there a way to send an internal variable from a function to the
> workspace????, besides the function output, of course
>
>
> Thanks!!
>
>
> D.
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?




More information about the R-help mailing list