Ng Stanley wrote: > Hi, > > I have created a number of custom functions, and hope to reuse them in other > source files. How should I go about doing that ? > > The best way is to create a package to hold them, then just use
library(MyPackage) to attach them. See Writing R Extensions for instructions. Another way is to use source('file.R') to read them in. Duncan Murdoch ______________________________________________ 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.