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

Tom Roche Tom_Roche at pobox.com
Mon Feb 6 04:48:33 CET 2012


I'm new but am already starting to accumulate utility functions for
the fairly specialized kinds of data files with which I work. I'd like
to keep those functions in a single folder, or filetree rooted at a
specific folder under my $HOME (I'm running linux), for ease of

* source()-ing
* git commit to bitbucket
* scp to clusters

I'm wondering,

1 is there a canonical location for personal functions, notably on
  linuxen?

2 how can one make that location most easily available? or must one
  always provide either a relative path from one's R cwd, or an FQ
  path to, the personal-functions folder?

Apologies if this is a FAQ, but I didn't see anything about it @

http://cran.r-project.org/doc/FAQ/R-FAQ.html
http://cran.r-project.org/doc/manuals/R-admin.html

or in casual rseek-ing.

TIA, Tom Roche <Tom_Roche at pobox.com>



More information about the R-help mailing list