See ?system in particular ignore.stdout and ignore.stderr parameters. Those are not messages and thus have nothing to do with suppressMessages().
Cheers, Simon > On Nov 29, 2018, at 9:50 AM, Christofer Bogaso <bogaso.christo...@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]] > > _______________________________________________ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac