[R] Defining functions in separate file...

Abhijit Dasgupta Abhijit.Dasgupta at mail.jci.tju.edu
Thu Feb 8 19:19:42 CET 2007


Look at

help(.First)

Martin Percossi wrote:
> 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
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>



More information about the R-help mailing list