This function wraps tryCatch and suppresses some or all of the following:
errors
warnings
messages
output from
print()output from
cat()output from
writeLines()
Arguments
- this_please
Some code to run silently. If running multiple lines use
{....}- errors
A logical value indicating if errors should be silenced. Default is
TRUE.- warnings
A logical value indicating if warnings should be silenced. Default is
TRUE.- messages
A logical value indicating if messages should be silenced. Default is
TRUE.- output
A logical value indicating if output from
print(),cat(), andwriteLines()should be silenced. Default isTRUE.