RList.this

Call this to work with an existing R list. Creates a new R list with the same number of elements as v.

  1. this(int n)
  2. this(Robj v, bool u = false)
    struct RList
    this
    (
    ,
    bool u = false
    )
  3. this(string name)

Parameters

v
Type: Robj

The R list you want to put into an RList struct. Normally this will be created on the R side and passed to D.

u
Type: bool

Flag indicating whether or not to protect the list from the R garbage collector. Defaults to false because this function is normally called using an already existing R list that does not need protection.

Anything inside an R list is automatically protected. If you are creating an R list and plan to return it to R, you do not need to worry about protecting anything inside the list.

Meta