On Nov 29, 2018, at 9:50 AM, Christofer Bogaso <bogaso.christofer at gmail.com> wrote:
Hi,
There is a function called system() with which one can run system code
within R. But I am wondering if there is any way to suppress any message
when invoking system().
For example let run 'df_dummy' through system() [yes, this is just dummy
command which would throw error while invoking]
suppressMessages(system('df_dummy'))
sh: df_dummy: command not found
I want to suppress the message 'sh: df_dummy: command not found'
I am running R in iOS Mavericks
Any help would be highly appreciated. Thanks,
[[alternative HTML version deleted]]