[R] invoking user-defined function

Philipp Pagel p.pagel at wzw.tum.de
Tue Nov 25 09:25:40 CET 2008

On Mon, Nov 24, 2008 at 11:35:37PM -0800, Kinoko wrote:
> Can somebody tell me how to invoke user-defined functions from script
> files during run-time?
> Basically I have (almost) one function per script file.
> I am thinking of something like
> #include   in C++
> import      in Java/Python
> use          in Perl

As you already pointed out that you do not wish to build a
pacakge, the most simple way is to use source() to read the
function definition. 


Dr. Philipp Pagel
Lehrstuhl für Genomorientierte Bioinformatik
Technische Universität München
Wissenschaftszentrum Weihenstephan
85350 Freising, Germany

More information about the R-help mailing list