[R] Include files?

Mark Knecht markknecht at gmail.com
Fri Jul 24 18:25:13 CEST 2009


Hi,
   I have 15 or 20 functions I've written to convert the sort of data
I'm working with. They are currently in their own R file which I load
by hand in Rgui before loading and running my main programs.

   Is there any way to have this file included in my R program like
#include might in C?

   If not is there a simple newbie-type example of how to create a
package so I could just say something like require(MWKFunctions) and
be done with this?

Thanks,
Mark




More information about the R-help mailing list