search for: yziquel

Displaying 20 results from an estimated 29 matches for "yziquel".

2010 Jan 07
1
Segfault in GetNewPage, memory.c.
...on my OCaml-R binding and I get a segfault in the GetNewPage() function of memory.c. For the record, the OCaml-R binding seems to work fine with OCaml bytecode. The segfault here is the main issue I have with OCaml native code. OCaml-R can be found on the following links. Source code: http://yziquel.homelinux.org/gitweb/?p=ocaml-r.git;a=summary http://svn.gna.org/viewcvs/ocaml-r/branches/yziquel/ Debian packages for amd64: http://yziquel.homelinux.org/debian/pool/main/o/ocaml-r/ Some documentation (not entirely up to date...): http://yziquel.homelinux.org/topos/api/ocaml-r/R.html http:...
2010 Jan 28
1
Problem with R math library.
Hello. I've been working on my OCaml-R binding, and I quite pleased to see that it is functional, though far from being perfect or polished. You can find the gitweb webpage and the interface documentation at http://yziquel.homelinux.org/gitweb/?p=ocaml-r.git;a=tree http://yziquel.homelinux.org/topos/api/ocaml-r/index.html I'm having unexpected trouble with the math library, though. The interface documentation is here: http://yziquel.homelinux.org/topos/api/ocaml-r/Rmath.html For instance, for the norm_rand...
2009 Nov 28
2
[Fwd: opened symbols in libR.so available.]
Hi. I've patched Dirk Eddelbuettel's Debian package of R, namely r-base, in order to make hidden symbols of the library libR.so available is now available: http://yziquel.homelinux.org/debian/pool/main/r/r-base/ For instance, the mkPROMISE symbol is available: > yziquel at seldon:/usr/lib/R/lib$ nm -D libR.so | grep mkPROMISE > 000000000011f6f0 T Rf_mkPROMISE > yziquel at seldon:/usr/lib/R/lib$ Instructions for my personal repository are available here:...
2009 Sep 03
1
Originate calls with AMI.
Hello. I've been trying to use the AMI to originate phone calls. I'm trying to call the SIP phone 'zoiper' with the SIP phone 'yziquel'. So, the AMI interaction is: > Action: originate > Channel: SIP/zoiper > Exten: yziquel > Priority: 1 > Timeout: 30 > Context: internal > > Response: Error > Message: Originate failed > > Event: Newchannel > Privilege: call,all > Channel: SIP/zoiper-0...
2009 Nov 14
1
Silently loading an R package.
...aml 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. > yziquel at seldon:~$ ocaml-batteries > Objective Caml version 3.11.1 > > _________________________________ > | | | | > [| + | | Batteries Included - | > |_______|_|_______________________| > __________...
2009 Oct 10
1
Help with OCaml bindings for R interpreter.
Hello. I've made out a Debian package out of Maxence Guesdon's OCaml/R bindings: http://yziquel.homelinux.org/topos/debian-ocamlr.html http://yziquel.homelinux.org/debian/pool/main/o/ocaml-r/ The upstream software itself is on the following page: http://home.gna.org/ocaml-r/ This binding is dynamically linked to the /usr/lib/R/lib/libR.so and to the /usr/lib/libRmath.so libraries. Its pu...
2009 Oct 15
2
2 IPs for an Asterisk server.
...k range than the LAN where I have my softphones. The default gateway would be the one of this second network address range. No NAT involved anywhere in this setup. Is it possible to do such a thing with Asterisk? Does it need really special tweaking of Asterisk conf files? -- Guillaume Yziquel http://yziquel.homelinux.org/
2009 Sep 07
1
Usage of OCaml/R binding.
...an integer. The '?argv:' stuff is concerned with optional arguments, so no real big deal. Documentation and examples of how the API works to embed R in an application would be highly appreciated. Please forward this email to R-dev if you feel it belongs there. All the best, Guillaume Yziquel. > yziquel at seldon:~/sandbox/repo/debian/debian-ocaml/ocaml-r$ ocaml-batteries > Objective Caml version 3.11.1 > > _________________________________ > | | | | > [| + | | Batteries Included - | > |_______|_|______...
2009 Sep 07
1
Usage of OCaml/R binding.
...an integer. The '?argv:' stuff is concerned with optional arguments, so no real big deal. Documentation and examples of how the API works to embed R in an application would be highly appreciated. Please forward this email to R-dev if you feel it belongs there. All the best, Guillaume Yziquel. > yziquel at seldon:~/sandbox/repo/debian/debian-ocaml/ocaml-r$ ocaml-batteries > Objective Caml version 3.11.1 > > _________________________________ > | | | | > [| + | | Batteries Included - | > |_______|_|______...
2009 Nov 16
0
OCaml-R and xts works!
...all loading is done statically: Loading the R interpreter is done statically. Loading the xts library is done statically... etc... See below. Hopefully, one may one day consider R to be a statically-typed, type-inferred, compiled, statistical language, with Lwt-style multithreading. :) > yziquel at seldon:~/git/ocamlr-xts$ ocamlbuild xts.cmo > Finished, 1 target (0 cached) in 00:00:00. > + ocamlfind ocamlc -c -package R.interpreter -o xts.cmo xts.ml > File "xts.ml", line 37, characters 4-9: > Warning P: this pattern-matching is not exhaustive. > Here is an example...
2009 Dec 12
1
code for [[.data.frame
...now how to show the code of functions in R (just typing the name of the function), but I'm having trouble with [[.data.frame, as it has a special syntacting handling. Could someone kindly show me how to display the code of [[.data.frame in the R toploop? All the best, -- Guillaume Yziquel http://yziquel.homelinux.org/
2009 Oct 21
1
ChannelStateDesc: Ring ?
...Desc gives me 'Ringing' but sometimes it only gives me 'Ring', which drives my application to 100% CPU (OK, not a very resilient app for now...) My question is: is 'Ring' a specific state for a channel, or is it a known bug in the AMI? All the best, -- Guillaume Yziquel http://yziquel.homelinux.org/
2009 Nov 28
1
PROTECT and OCaml GC.
...nt OCaml's GC says the value is not needed anymore. Please tell me which option I should go forward with. (I'll assume for now that OCaml is monothreaded. I do not believe that R itself is thread-safe, so I'll first handle this monothreaded case.) All the best, -- Guillaume Yziquel http://yziquel.homelinux.org/
2010 Feb 15
1
What symbols are loaded when require()ing?
Hello. I would need to know of a programmatic way to get a list of all the new symbols you get when require(9)ing a package/library. I'd like to know how to do that from within R, or with the C API. Pointers to relevant documentation are also welcome. All the best, -- Guillaume Yziquel http://yziquel.homelinux.org/
2009 Nov 18
1
R_NilValue and segfault.
...vel.top" "/usr/lib/ocaml/batteries/top.ml" $@ Please tell me if there's anything obvious which causes this. There's a lot of conditional compilation directives in Rinternals.h, and I'm wondering whether or not that might be an issue. All the best, -- Guillaume Yziquel http://yziquel.homelinux.org/
2009 Nov 30
1
:Re: PROTECT and OCaml GC.
>>> On Nov 28, 2009, at 7:50 PM, Guillaume Yziquel wrote: >>> >>> FWIW what I think you should be really looking at is >>> R_PreserveObject/R_ReleaseObject. > > OK. Thanks. >>> I would suggest looking at the many other R embeddings in other >>> languages that already exist since I don't think...
2009 Aug 03
1
Outbound calls drop after 15 to 30 seconds.
...an Asterisk server to make SIP phone calls to external classic phones. However, it happens that after 15 or 30 seconds, the phone call drops. The SIP session still seems valid, but no sound comes through any more. How would you go through to troubleshoot this issue? All the best, Guillaume Yziquel.
2010 Jan 30
2
Stop packages and datasets to be loaded on startup.
...pens before Rf_initEmbeddedR in littler. So I gather that just setting R_DEFAULT_PACKAGES to NULL should be OK. But then, what is the rather complicated stuff in the autoload() function in littler.c for? And concerning datasets, how do you avoid loading them? All the best, -- Guillaume Yziquel http://yziquel.homelinux.org/
2010 Feb 12
0
OCaml-R binding for the R language.
This post is to announce the 0.2 release of OCaml-R. OCaml-R is a binding embedding the R interpreter into Objective Caml code. Home page: http://home.gna.org/ocaml-r/ Download page: http://download.gna.org/ocaml-r/ Deb packages: http://yziquel.homelinux.org/debian/pool/main/o/ocaml-r/ Tutorial: http://home.gna.org/ocaml-r/gettingstarted.en.html OCamlDoc API: http://yziquel.homelinux.org/topos/api/ocaml-r/index.html http://home.gna.org/ocaml-r/refdoc/index.html The goal of OCaml-R is to provide adequate integration of the...
2009 Nov 17
0
Problem loading fAssets.
Hello. I'm using the fAssets package from the Debian distribution. I've been experiencing the following behaviour: > yziquel at seldon:~$ R > > R version 2.9.2 (2009-08-24) > Copyright (C) 2009 The R Foundation for Statistical Computing > ISBN 3-900051-07-0 > > R est un logiciel libre livr? sans AUCUNE GARANTIE. > Vous pouvez le redistribuer sous certaines conditions. > Tapez 'license()'...