Skip to content

Commit

Permalink
Merge pull request #252 from randomee/blpAuth-documentation
Browse files Browse the repository at this point in the history
Blp auth documentation
  • Loading branch information
eddelbuettel authored Dec 11, 2017
2 parents a58dc45 + ecbbd87 commit 6966507
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 8 additions & 2 deletions R/blpAuthenticate.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,15 @@
##' @param con A connection object as created by a \code{blpConnect}
##' call, and retrieved via the internal function
##' \code{defaultConnection}.
##' @return Not sure. May just be the side effect of having the
##' session authenticated.
##' @return The returned object should be passed to subsequent data
##' calls via bdp(), bds(), etc.
##' @author Whit Armstrong and Dirk Eddelbuettel
##' @examples
##' \dontrun{
##' blpConnect(host=blpHost, port=blpPort)
##' blpid <- blpAuthenticate(uuid=blpUUID, ip=blpIP_address)
##' bdp("IBM US Equity", "NAME", identity=blpid)
##' }

blpAuthenticate <- function(uuid, host="localhost", ip.address, con=defaultConnection()) {
if (missing(ip.address)) {
Expand Down
2 changes: 2 additions & 0 deletions R/blpConnect.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
##' environment. This effectively frees users from having to
##' explicitly create such an object.
##' @author Whit Armstrong and Dirk Eddelbuettel
##' @seealso Many SAPI and bPipe connections require authentication
##' via \code{blpAuthenticate} after \code{blpConnect}.
##' @examples
##' \dontrun{
##' con <- blpConnect() # adjust as needed
Expand Down

0 comments on commit 6966507

Please sign in to comment.