I personally place functions like this in my .First function under the .Rprofile, making them instantly accessible. I also keep a function called my.fun() which lists a data frame containing a column of all the function names, one for arguments, and a brief description. This also goes in .First. Again, this makes it easy to quickly reference what you have and makes all your functions quickly accessible. Tyler
> Date: Sat, 9 Jul 2011 13:30:51 +0200 > From: s.chamai...@yahoo.fr > To: r-help@r-project.org > Subject: [R] Storing and managing custom R functions for re-use > > Dear all, > > sorry if this is a bit on the sidetrack for R-help. > > As a regular R user I have developed quite a lot of custom R functions, > to the point of not always remembering what I have already programmed, > where the file is and so on. > I was wondering what other people do in this regards. A basic file with > all your functions, or a custom R package, or directly integrated into a > profile file ??? I'm considering that a blog with tagged posts may be a > good solution (and really good ones could join R-bloggers maybe). > > If someone is happy to share what (s)he considers good practice, thanks. > > simon > > ______________________________________________ > 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. [[alternative HTML version deleted]] ______________________________________________ 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.