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. cu Philipp -- Dr. Philipp Pagel Lehrstuhl für Genomorientierte Bioinformatik Technische Universität München Wissenschaftszentrum Weihenstephan 85350 Freising, Germany http://mips.gsf.de/staff/pagel ______________________________________________ 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.