[Rd] PROTECT and OCaml GC.

Guillaume Yziquel guillaume.yziquel at citycable.ch
Wed Dec 2 03:31:25 CET 2009


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/



More information about the R-devel mailing list