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@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.
>

______________________________________________
R-help@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.

Reply via email to