Instead of a usual .null variable (or whatever you might make up) to discard some unwanted output, it could be nice to have a function specifically for it.
Typical use case to avoid:
null <- capture.output(
some_function_that_wont_shut_up()
)
as null now pollutes the environment.
Suggested usage:
null(caputure.output(
some_function_that_wont_shut_up()
))
or
null() <- caputure.output(
some_function_that_wont_shut_up()
)
or something third.
Instead of a usual .null variable (or whatever you might make up) to discard some unwanted output, it could be nice to have a function specifically for it.
Typical use case to avoid:
as
nullnow pollutes the environment.Suggested usage:
or
null() <- caputure.output( some_function_that_wont_shut_up() )or something third.