Re: [R] Silently loading an R package.

2009-11-14 Thread Guillaume Yziquel
Yihui Xie a écrit : please read the 'Details' section of ?require To suppress messages during the loading of packages use 'suppressPackageStartupMessages': this will suppress all messages from R itself but not necessarily all those from package authors. Regards, Yihui Thank you

Re: [R] Silently loading an R package.

2009-11-13 Thread Yihui Xie
please read the 'Details' section of ?require To suppress messages during the loading of packages use 'suppressPackageStartupMessages': this will suppress all messages from R itself but not necessarily all those from package authors. Regards, Yihui -- Yihui Xie Phone: 515-294-6609

[R] Silently loading an R package.

2009-11-13 Thread Guillaume Yziquel
Hello. I've been working an a binding between OCaml and R (i.e. calling R from OCaml, mostly). See below for a taste of it. I'm currently wondering how to load a given R package silently. I tried require(xts, quietly = TRUE) but I still get some ugly output. Is it possible to squeeze