[R] Introduce a new function in a package?

Josef Eschgfaeller esg at felix.unife.it
Wed Apr 6 17:24:52 CEST 2005


> ~/.Rprofile

You could also write in .Rprofile soemthing like this:

for (x in dir("Mylibrary",full.names=T,recursive=T))
   source(x)

where "Mylibrary" is a directory which
contains your functions without making a package.

Josef Eschgfäller


More information about the R-help mailing list