i am just wondering if there is an effective way to include other external codes into the program. thanks. [[alternative HTML version deleted]]
On Dec 26, 2009, at 3:10 PM, Wensui Liu wrote:> i am just wondering if there is an effective way to include other > external > codes into the program. >?source>-- David Winsemius, MD Heritage Laboratories West Hartford, CT
?source What is the problem you are trying to solve? Sent from my iPhone. On Dec 26, 2009, at 15:10, Wensui Liu <liuwensui at 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 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.
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 <liuwensui at 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 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.
>