MINI MINI MANI MO
%
% Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
%
\name{ore.load}
\alias{ore.load}
\title{
Oracle R Enterprise 데이터 저장소 로드 함수
}
\description{
사용자의 Oracle Database 스키마에 있는 데이터 저장소에서 \R 객체를 로드합니다.
}
\usage{
ore.load(name, list = character(0), owner, envir = parent.frame())
}
\arguments{
\item{name}{
데이터 저장소의 이름을 지정하는 문자열입니다.
}
\item{list}{
로드를 위해 데이터 저장소 내의 \R 객체 이름을 포함하는
선택적 문자 벡터입니다. 이 인수가 지정되지 않았으면
데이터 저장소 내의 모든 \R 객체가 로드됩니다.
}
\item{owner}{
로드할 데이터 저장소의 소유자를 지정하는 선택적인
문자열입니다. 데이터 저장소의 소유자가 현재 사용자가 아닌 경우,
\code{\link{ore.grant}}이(가) 데이터 저장소의 읽기 권한을 현재 사용자에게 부여해야
합니다. 그렇지 않으면 \code{\link{ore.load}} 오류가 발생합니다.
\code{owner} 인수가 지정되지 않은 경우 기본값은
현재 사용자입니다.
}
\item{envir}{
\R 객체를 로드할 환경입니다.
}
}
\details{
\code{\link{ore.save}} 및 \code{ore.load} 함수는 \\pkg{base} 패키지의
\code{\link[base]{save}} 및 \code{\link[base]{load}} 함수와 비슷한 방식으로
작동합니다. \code{\link[base]{save}} 및 \code{\link[base]{load}} 함수는
외부 파일에서 \R 객체를
저장 및 로드하지만
\code{\link{ore.save}} 및 \code{ore.load} 함수는 데이터 저장소에서
\R 객체를 저장 및 로드합니다.
}
\value{
\code{ore.load} 함수는 데이터 저장소에서 \code{envir} 환경으로 로드된
\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.delete}},
\code{\link{ore.datastore}},
\code{\link{ore.datastoreSummary}},
\code{\link{ore.lazyLoad}}
\code{\link{ore.grant}}
\code{\link{ore.revoke}}
}
\examples{
if (any(sapply(c("x", "y", "z", "e"), exists)))
stop("object x, y, z, or e exists")
x <- stats::runif(20)
y <- list(a = 1, b = TRUE, c = "oops")
z <- ore.push(x)
# save all objects in the current workspace environment to
# a datastore with name 'rq$ds_1' in the user's schema
ore.save(list = ls(), name = "rq$ds_1")
rm(x, y, z)
# load all objects from datastore rq$ds_1 to current workspace
ore.load(name = "rq$ds_1")
ls()
# load x and y from datastore rq$ds_1 to environment e
e <- new.env()
ore.load(name = "rq$ds_1", list = c("x", "y"), envir = e)
ls(envir = e)
# clean up
ore.delete(name = "rq$ds_1")
rm(x, y, z, e)
}
\keyword{datastore}
\keyword{database}
\keyword{ORE}
OHA YOOOO