MINI MINI MANI MO
%
% Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
%
\name{ore.attach}
\alias{ore.attach}
\alias{ore.detach}
\title{
Oracle R Enterprise 환경 관리 함수
}
\description{
Oracle R Enterprise 세션의 \R \code{\link[base]{environment}} 경로에서
이름이 지정된 스키마의 \R \code{\link[base]{search}}을(를) 연결하거나
분리합니다. \R \code{\link[base]{environment}}이(가)
\R 검색 경로에 연결되면 스키마에서
데이터베이스 테이블 및 뷰를 나타내는
해당 \code{\linkS4class{ore.frame}} 객체를 이름별로 직접
액세스할 수 있습니다.
}
\usage{
ore.attach(schema, pos = 2, warn.conflicts = TRUE)
ore.detach(schema)
}
\arguments{
\item{schema}{
데이터베이스 스키마 이름을 지정하는 문자열입니다.
}
\item{pos}{
\R \code{\link[base]{search}} 경로에서 위치를 지정하는 1보다 큰 정수
값입니다.
}
\item{warn.conflicts}{
\R \code{\link[base]{conflicts}}을(를) 첨부할 경우 동일한 이름을 공유하는
\code{\link[base]{environment}} 객체에 대해 경고를 출력해야 하는지 여부를
나타내는 논리 값입니다.
}
}
\details{
\code{schema} 인수가 지정되지 않은 경우 Oracle R Enterprise 세션에
접속 시 지정된 기본 스키마가
사용됩니다.
기본적으로 Oracle R Enterprise 세션의 스키마에 대한 \R 환경은
\R 검색 경로에서 사용자의 작업 영역 바로 뒤에 그리고
이전에 연결된 패키지 및 환경의 바로 앞에 있는 두 위치에
연결됩니다. \code{pos} 인수를 사용하여 검색 경로의 다른 위치에
Oracle R Enterprise 세션의 스키마에 대한 \R 환경을 연결할 수 있지만
이 환경은 \code{pos = 1}에 연결될 수
없습니다.
\code{\link{ore.sync}} 및 \code{\link{ore.rm}} 함수는 Oracle R Enterprise 세션의
스키마에 대한 이 \R 환경에서 \code{\linkS4class{ore}} 객체를
추가 및 제거합니다.
}
\value{
\code{ore.attach} 함수의 경우 환경이 \code{"name"} 속성과 함께
보이지 않게 반환됩니다.
\code{ore.detach} 함수의 경우 반환 값은 보이지 않는
\code{NULL} 값입니다.
}
\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.connect}},
\code{\link{ore.exists}},
\code{\link{ore.get}},
\code{\link{ore.ls}},
\code{\link{ore.rm}},
\code{\link{ore.sync}},
\code{\link[base]{search}}
}
\examples{
if (!interactive())
{
search()
ore.attach()
search()
ore.detach()
search()
ore.attach("rquser", 3)
search()
ore.detach("rquser")
search()
}
}
\keyword{data}
\keyword{database}
\keyword{ORE}
OHA YOOOO