source("abc.R") if you want to run the code in the abc.R file at that
point.  Or if you are looking for a macro facility see defmacro in
gtools which is based on Thomas Lumley's R News 1/3 article where
defmacro is presented.

On Sat, Dec 26, 2009 at 3:10 PM, Wensui Liu <liuwen...@gmail.com> wrote:
> i am just wondering if there is an effective way to include other external
> codes into the program.
>
> thanks.
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@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.
>

______________________________________________
R-help@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.

Reply via email to