[R] Storing and managing custom R functions for re-use
Abhijit Dasgupta, PhD
aikidasgupta at gmail.com
Sat Jul 9 15:37:21 CEST 2011
I think most of us are in a similar situation. I've usually kept mine in
a file which is sourced when I start R. The main problem I have with
this is that it clutters up my environment with a lot of stuff I don't
need all the time. I'm in the process of creating a custom package which
will be lazy-loaded. I believe a previous discussion of this topic
suggested this as the preferred method.
On 07/09/2011 07:30 AM, Simon Chamaillé-Jammes wrote:
> 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 at 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.
More information about the R-help
mailing list