Learn R Programming

sbtools (version 1.3.2)

current_session: Return current cached session

Description

Returns the currently cached SB session token. If there is no authenticated session, returns NULL. Emits a warning if the session has expired.

Usage

current_session()

Arguments

Examples

Run this code
# \donttest{

session = current_session()
#null unless currently authenticated
session
# }

Run the code above in your browser using DataLab