yutannihilation / savvy

A simple R extension interface using Rust

Home Page:https://yutannihilation.github.io/savvy/guide/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`ListSexp` example on guide

daniellga opened this issue · comments

If I understood correctly, OwnedListSexp should have it's named argument set to true for this example to work.

image

OwnedListSexp's new() is different than other types; the second argument (named) indicates whether the list is named or unnamed. If false, the list doesn't have name and all operations on name like set_name() are simply ignored.

Thanks for catching, yes!