I would like to suppress output in R when I run my R script from the command prompt.
I tried numerous options including --slave and --vanilla. Those options lessens the amount of text outputted.
I also tried to pipe the output to NUL but that didn’t help.
Look at
help(sink)to do that. On Unix I’d doand the Windows equivalent (with a tip-of-the-hat to Johannes) is