.BG
.VE $Header: /usr3/s/current/s/.help/RCS/get,v 1.2 83/12/30 19:28:44 rab Exp $
.FN get
.TL
get: Access Data on a Data Directory
.CS
get(name1, name2, ..., pos=)
.PP
.AG namei
the character strings which give the main name and the
component names of the data; i.e., `name1' is the 
name of the dataset and `name2', `name3', etc.  are the names of
the component, subcomponent, etc.
.AG pos=
the position of the data directory from which the data is to be
retrieved.  If `pos' is zero, all data directories are searched for the
dataset.  Default 0.
.RT
the data found.
.PP
The function `get' is the explicit analogue to what happens
automatically when the name of a dataset or a component appears in an
expression.  Occasionally `get' is used explicitly because
the names must be constructed or read in, as in the example below.
.EX
for(i in 1:10){
  name <- encode("y",i,sep="")
  plot(x,get(name)) }
  #scatter plot (x,y1), (x,y2),...(x,y9)
.KW data management
.KW basic*
.WR
