Returns IDs of all currently stored messages.
getMessageIds(sessionId = NULL, simplify = TRUE)
Either a named list or a vector with message IDs.
ID of the session for which to return message IDs. Can also be a vector of multiple session IDs.
If NULL
, returns message IDs for all currently active sessions.
If TRUE
and only one session ID is provided (or there is only one active session), returns
a vector of message IDs. Otherwise returns a named list with one vector for each requested session.
For security reasons, most of the messages that are received
from web pages require manual authorization in the R session with authorize
function. Until that happens,
messages are given randomly generated IDs and are stored in memory.
This function is a wrapper around method getMessageIds
of class Session
.
authorize
, getSessionIds
.