[R] invoking user-defined function

From: Kinoko <andzsinszan_at_gmail.com>
Date: Mon, 24 Nov 2008 23:35:37 -0800 (PST)


Dear list,

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

No, I don't need my functions every time R is started. Neither I am thinking about writing building my functions into packages.
I just want to reference my functions during batch processing. That's all.

Thanks in advance.

g



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. Received on Tue 25 Nov 2008 - 07:37:32 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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive