[R] where does R search when source()?
Duncan Murdoch
dmurdoch at pair.com
Sun Jul 11 13:58:06 CEST 2004
On Sat, 10 Jul 2004 23:28:39 -0400, "Shin, Daehyok"
<sdhyok at email.unc.edu> wrote:
>Considering replies to my question, typical practices of R users seem:
>1. Creating a special function to source frequently used scripts.
That's not right. The practice I was describing is to have frequently
used code in a function, not in a script.
>2. Creating a personal package containing frequently used scripts.
And here it would be frequently used *functions*.
>
>Both of them needs additional steps to edit the function or to
>create/install the package
>when a script file is edited or added.
There's no additional step. You write the function and use it.
Duncan Murdoch
More information about the R-help
mailing list