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 off this
output on stdout?
All the best,
Guillaume Yziquel.
yziq...@seldon:~$ ocaml-batteries
Objective Caml version 3.11.1
_________________________________
| | | |
[| + | | Batteries Included - |
|_______|_|_______________________|
_________________________________
| | | |
| - Type '#help;;' | | + |]
|_______________________|_|_______|
# #require "R.interpreter";;
# R.sexp "require(xts)";;
Le chargement a nécessité le package : xts
Le chargement a nécessité le package : zoo
Attachement du package : 'zoo'
The following object(s) are masked from package:base :
as.Date.numeric
xts now requires a valid TZ variable to be set
no TZ var is set, setting to TZ=GMT
- : R.sexp = <abstr>
#
--
Guillaume Yziquel
http://yziquel.homelinux.org/
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.