MINI MINI MANI MO

Path : /opt/oracle/product/18c/dbhomeXE/R/library/OREembed/doc/man/en/
File Upload :
Current File : //opt/oracle/product/18c/dbhomeXE/R/library/OREembed/doc/man/en/ore.delete.Rd

%
% Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
%
\name{ore.delete}
\alias{ore.delete}
\title{Oracle R Enterprise Datastore Removal Function}
\description{
  Deletes an entire datastore from the user's Oracle Database schema or
  specific \R objects from within a datastore.
}
\usage{
ore.delete(name, list = character(0))
}
\arguments{
  \item{name}{
    A character string specifying the name of the datastore to delete or
    modify.
  }
  \item{list}{
    An optional character vector containing the names of the objects
    to delete from the datastore. If this argument is not specified,
    then the entire datastore will be deleted.
  }
}
\details{
  If argument \code{list} is missing, function \code{ore.delete} will
  delete the datastore specified in the \code{name} argument from the
  user's Oracle Database schema.

  If argument \code{list} is used, function \code{ore.delete} will
  delete the specified \R objects from the datastore supplied in the
  \code{name} argument.
}
\references{
  \href{http://www.oracle.com/technetwork/database/database-technologies/r/r-enterprise/documentation/index.html}{Oracle R Enterprise}
}
\author{
  Oracle \email{oracle-r-enterprise@oracle.com}
}
\seealso{
  \code{\link{ore.save}},
  \code{\link{ore.load}},
  \code{\link{ore.datastore}},
  \code{\link{ore.datastoreSummary}}
}
\examples{
if (any(sapply(c("x", "y", "z"), exists)))
  stop("object x, y, or z exists")

x <- stats::runif(20)
y <- list(a = 1, b = TRUE, c = "oops")
z <- ore.push(x)

ore.save(list=ls(), name="rq$ds_1")

# delete R object x, y from datastore 'rq$ds_1' from user's schema
ore.delete(name="rq$ds_1", list=c("x", "y"))
# delete the datastore with name 'rq$ds_1' from user's schema
ore.delete(name="rq$ds_1")
rm(x, y, z)
}
\keyword{datastore}
\keyword{database}
\keyword{ORE}

OHA YOOOO