# 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