Re: [Rd] Re: Packages and Libraries (was: Re: lme4 "package" etc

From: Prof Brian Ripley <>
Date: Wed 09 Feb 2005 - 10:05:20 EST

On Tue, 8 Feb 2005 wrote:


> But, a propos, is there an R entity called a "library"
> (other than the command) as distinct from a "package"?

Yes. That is what the argument 'lib.loc' to library() and other functions refers to.

A 'library' is a collection of packages stored in one directory.

library("pkg") means `go to one or more libraries, find package pkg and load it up'

In S parlance what in R is a `package' is a `library section' or (latterly) also `chapter'.

In English usage a library is a collection of volumes, not of recipes or stories or articles.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Wed Feb 09 09:33:46 2005

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:02:47 EST