[R] where does R search when source()?

Shin, Daehyok sdhyok at email.unc.edu
Sun Jul 11 18:41:20 CEST 2004

I agree that this is a good use for a script, but I don't think it's
what Daehyok was talking about. He wants a library of frequently used
scripts to be available in multiple projects.   In R, the best way to
do that isn't to use scripts at all, it's to put the code in
What I asked is the way to set up default search paths for source function,
whether or not files in the paths contain a set of functions or simple
script code.
Daehyok Shin

More information about the R-help mailing list