MINI MINI MANI MO
%
% Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
%
\name{ore.delete}
\alias{ore.delete}
\title{
Oracle R Enterprise 数据存储删除函数
}
\description{
从用户的 Oracle 数据库方案中删除整个数据存储或者
从数据存储中删除特定 \R 对象。
}
\usage{
ore.delete(name, list = character(0))
}
\arguments{
\item{name}{
一个用于指定要删除或修改的数据存储名称的
字符串。
}
\item{list}{
可选字符向量, 其中包含要从数据存储中删除的
对象的名称。如果未指定此参数,
则将删除整个数据存储。
}
}
\details{
如果缺少参数 \code{list}, 则函数 \code{ore.delete} 将
从用户的 Oracle 数据库方案中删除在 \code{name} 参数中
指定的数据存储。
如果使用参数 \code{list}, 则函数 \code{ore.delete} 将
从 \code{name} 参数中提供的数据存储删除
指定的 \R 对象。
}
\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