Learn R Programming

itsadug (version 2.0)

infoMessages: Turn on or off information messages.

Description

Turn on or off information messages.

Usage

infoMessages(input)

Arguments

input
Input variable indicating to print info messages ("on", or 1, or TRUE) or not ("off", 0, or FALSE).

See Also

Other Functions for package use: info

Examples

Run this code
# To turn on the info messages (all the same):
infoMessages("on")
infoMessages(1)
infoMessages(TRUE)
# To turn off the info messages (all the same):
infoMessages("off")
infoMessages(0)
infoMessages(FALSE)
# checking output:
(out <- infoMessages(FALSE))

Run the code above in your browser using DataLab