[R] Scope

Geoffrey Zhu gzhu at peak6.com
Thu Feb 8 21:49:43 CET 2007

Hi all,

When I write a script, I'd like to create a main() function so that I
only need to type main() t re-run it. However, I'd like all the
variables in main() to be global so that when the function terminates, I
still have access to the variables in the environment. Does anyone know
how to do that?

Best regards,

The information in this email or in any file attached hereto...{{dropped}}

More information about the R-help mailing list