detach(what=2, save=F)
what
is a character string,
it is the name of the database to be removed from the search list.
If
what
is a logical vector,
it should be the same length as the current search list;
the vector is replicated if it is shorter than the search list.
The
TRUE
value in the vector corresponds
to the database to be detached.
If
what
is numeric,
it gives the position of the database in the search list to be detached.
detach
.
.on.detach
is called
if it exists in the database.
The
save
argument is not currently supported.
detach("abc") # Detach the fourth object from the search list. detach(what=4)