Re: [R] invoking user-defined function

From: Philipp Pagel <>
Date: Tue, 25 Nov 2008 09:25:40 +0100

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

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 25 Nov 2008 - 08:36:34 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 25 Nov 2008 - 09:30:41 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive