silent: Silent status of SyncroSim Session

silentR Documentation

Silent status of SyncroSim Session

Description

Checks or sets whether a SyncroSim Session is silent or not. In a silent session, warnings from the console are ignored.

Usage

silent(session)

## S4 method for signature 'Session'
silent(session)

## S4 method for signature 'missingOrNULLOrChar'
silent(session)

silent(session) <- value

## S4 replacement method for signature 'character'
silent(session) <- value

## S4 replacement method for signature 'Session'
silent(session) <- value

Arguments

session

Session object or character (i.e. filepath to a session). If NULL, session() will be used

value

logical. If TRUE (default), the SyncroSim Session will be silent

Value

A logical: TRUE if the session is silent and FALSE otherwise.

Examples

## Not run: 
# Set up a SyncroSim Session
mySession <- session()

# Check the silent status of a SyncroSim Session
silent(mySession)

# Set the silent status of a SyncroSim Session
silent(mySession) <- FALSE

## End(Not run)


rsyncrosim documentation built on May 29, 2024, 10:23 a.m.