MINI MINI MANI MO
%
% Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
%
\name{ore.exists}
\alias{ore.exists}
\title{
Oracle R Enterprise 对象存在性检查函数
}
\description{
确定 Oracle R Enterprise 会话
中的方案的 \R \code{\linkS4class{ore.frame}} 中是否存在
表示数据库表或视图的
命名 \code{\link[base]{environment}} 对象。
}
\usage{
ore.exists(name, schema)
}
\arguments{
\item{name}{
一个用于指定 \code{\linkS4class{ore.frame}} 对象名称
的字符串。
}
\item{schema}{
一个用于指定数据库方案名的字符串。
}
}
\details{
如果未指定参数 \code{schema}, 则将使用
默认方案 (即在连接时为 Oracle R Enterprise 会话指定的
方案)。
}
\value{
一个逻辑值, 该值指示是否已在指定的
\code{\linkS4class{ore.frame}} 中找到具有指定名称的 \code{schema} 对象。
}
\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.attach}},
\code{\link{ore.connect}},
\code{\link{ore.get}},
\code{\link{ore.ls}},
\code{\link{ore.rm}},
\code{\link{ore.sync}}
}
\examples{
if (!interactive())
{
ore.exists("IRIS_TABLE") # FALSE
ore.create(iris, table = "IRIS_TABLE")
ore.exists("IRIS_TABLE") # TRUE
ore.exists("IRIS_TABLE", "RQUSER") # TRUE
ore.drop(table = "IRIS_TABLE")
}
}
\keyword{data}
\keyword{database}
\keyword{ORE}
OHA YOOOO