Re: [Rd] PROTECT and OCaml GC.

From: Guillaume Yziquel <guillaume.yziquel_at_citycable.ch>
Date: Wed, 02 Dec 2009 03:31:25 +0100

Simon Urbanek a écrit :
>
> No, because you cannot use CHARSXP as a TAG. TAGs are always symbols. Therefore, logically, you must register it first in (or obtain from) the symbol table using install.

OK. That's R side.

OCaml side, I need to have as little side-effects as possible. Symbol assignment is a side-effect.

Is there an API-compliant way to handle this, and make data structures as immutable as possible?

-- 
      Guillaume Yziquel
http://yziquel.homelinux.org/

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 02 Dec 2009 - 02:33:45 GMT

This archive was generated by hypermail 2.2.0 : Wed 02 Dec 2009 - 12:30:55 GMT