Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rcopytype with multiple S3 classes #447

Open
marcpabst opened this issue Mar 2, 2022 · 0 comments
Open

rcopytype with multiple S3 classes #447

marcpabst opened this issue Mar 2, 2022 · 0 comments

Comments

@marcpabst
Copy link

marcpabst commented Mar 2, 2022

Often, an R list will have multiple class attributes: - attr(*, "class")= chr [1:3] "class1" "class2" "class3". For a single class, rcopytype(::Type{RClass{:class}}, s::Ptr{VecSxp}) = MyTypeseems to work, but is there any way to register a custom conversion using rcopytype() for lists that have multiple class attributes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant