[R] Defining functions in separate file...

Martin Percossi martin at martinpercossi.com
Thu Feb 8 18:00:55 CET 2007


Hello, is it possible to define functions in a file, say, myfunctions.R, 
and import them into R -- into the top-level namespace? I've seen in the 
documentation that you can create packages, but this seems very 
heavy-duty, as it requires me to createa subdirectory, and various other 
files.

TIA
Martin



More information about the R-help mailing list