I\'m trying to run a r script from the command line, but I get warning messages when packages are loaded:
C:\\Temp>Rscript myscript.r param Warning messag
These are not messages but warnings. You can do:
suppressWarnings(library(RODBC))
or
suppressWarnings(suppressMessages(library(RODBC)))
to suppress both types.