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

From: Shin, Daehyok <sdhyok_at_email.unc.edu>
Date: Mon 12 Jul 2004 - 02:41:20 EST

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 functions.
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



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Jul 12 02:48:49 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 02:35:34 EST