Skip to content
Prev 284286 / 398502 Next

[newbie] storage/use of user's own functions?

Hi Tom,

I don't believe there is a standard location.  You can set variables or have functions run (say to source other functions in) in your .Rprofile file.  That way, you always have them.  Once you get more than a handful of functions, it is probably time to consider putting them into your own package.  This allows you to document them etc. then accessing them is as easy as loading your package.  Also makes checking and distributing to others easier of that ever comes up.

Hope this helps,

Josh
On Feb 5, 2012, at 19:48, Tom Roche <Tom_Roche at pobox.com> wrote: